[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:02:00 GMT 2011


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

--- Comment #11 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-01-17 16:15:10 UTC ---
(In reply to comment #10)
> 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).

Which means you can also try -fno-zero-initialized-in-bss



More information about the Gcc-bugs mailing list