[Bug c++/50614] New: [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
zsojka at seznam dot cz
gcc-bugzilla@gcc.gnu.org
Tue Oct 4 18:09:00 GMT 2011
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: unassigned@gcc.gnu.org
ReportedBy: zsojka@seznam.cz
CC: jason@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
More information about the Gcc-bugs
mailing list