[Bug lto/47274] [4.6 regression] ICE in lto_varpool_replace_node, at lto-symtab.c:306

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jan 17 17:00:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47274

--- Comment #10 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-01-17 16:14:21 UTC ---
The GNU linker made

extern int abs_called;

prevailing (it's a common, probably works with -fno-common?) instead of

int abs_called = 0;

thus I think this is a bug in the GNU linker (we remove the zero initializer
I think, so maybe out LTO symtab we create is slightly odd).



More information about the Gcc-bugs mailing list