http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51404
Bug #: 51404
Summary: [c++0x] [4.7 Regression] ICE with invalid use of auto
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: [email protected]
ReportedBy: [email protected]
The following invalid code snippet triggers an ICE on trunk:
===================
int i = auto().x;
===================
bug.cc:1:14: error: invalid use of 'auto'
bug.cc:1:15: internal compiler error: Segmentation fault
Please submit a full bug report, [etc.]