[Bug c++/57945] [4.9 Regression] ICE: in varpool_get_node, at cgraph.h:840
reichelt at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Oct 5 21:50:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57945
Volker Reichelt <reichelt at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Last reconfirmed|2013-07-27 00:00:00 |2013-10-05
CC| |reichelt at gcc dot gnu.org
Known to work| |4.7.0, 4.8.0
Known to fail| |4.9.0
--- Comment #1 from Volker Reichelt <reichelt at gcc dot gnu.org> ---
Here's an even simpler testcase which is probably valid (at least it was
accepted in 4.8.x):
=================================================
static int i __attribute__((weakref("j")));
=================================================
cc1plus: internal compiler error: in varpool_get_node, at cgraph.h:891
0x512ddc varpool_get_node
../../gcc/gcc/cgraph.h:891
0xd2d101 varpool_get_node
../../gcc/gcc/varpool.c:389
0xd2d101 varpool_analyze_node(varpool_node*)
../../gcc/gcc/varpool.c:396
0x804217 analyze_functions
../../gcc/gcc/cgraphunit.c:1035
0x805739 finalize_compilation_unit()
../../gcc/gcc/cgraphunit.c:2260
0x618920 cp_write_global_declarations()
../../gcc/gcc/cp/decl2.c:4365
Please submit a full bug report, [etc.]
More information about the Gcc-bugs
mailing list