http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53816
Bug #: 53816
Summary: internal compiler error: tree check: expected
field_decl, have identifier_node in
fixed_type_or_null, at cp/class.c:6419, with
-std=c++11 option
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: [email protected]
ReportedBy: [email protected]
Created attachment 27721
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27721
preprocessed source file
The attached code looks innocent but causes ICE with GCC 4.8.0 20120624
(experimental) and `-std=c++11' option, although it doesn't rely on any C++11
feature. And without `-std=c++11' option, it successfully compiles.
Note that the attached code successfully compiles with GCC 4.6.4 20120622
(prerelease) and 4.7.2 20120623 (prerelease), regardless of whether
`-std=c++0x' option is used.