http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50614
Bug #: 50614 Summary: [C++0x] ICE: tree check: expected field_decl, have identifier_node in component_ref_field_offset, at expr.c:6697 with -fcompare-debug and a non-static inilializer Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: zso...@seznam.cz CC: ja...@gcc.gnu.org Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Created attachment 25414 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25414 reduced testcase Compiler output: $ gcc -fcompare-debug testcase.C testcase.C:8:20: warning: non-static data member initializers only available with -std=c++0x or -std=gnu++0x [enabled by default] testcase.C: In constructor 'B<0>::B()': testcase.C:6:25: internal compiler error: tree check: expected field_decl, have identifier_node in component_ref_field_offset, at expr.c:6697 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Tested revisions: r179488 - crash