[Bug lto/58733] [4.9 Regression] ICE in operator[], at vec.h:827

hubicka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Mar 2 22:33:00 GMT 2014


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

--- Comment #12 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Forgot to mention, I think the ICE is solved by the following patch:

2014-02-14  Jan Hubicka  <hubicka@ucw.cz>

        * lto-partition.c (add_symbol_to_partition_1,
        undo_partition, lto_balanced_map): Aliases have no
        defined size.
        (lto_balanced_map): Do not follow refering variables
        if they can be optimized out.

the ICE however happens because we fail to optimize out the dead code because
gold us it is used by non-LTO object file in the same DSO. This is clear bug.



More information about the Gcc-bugs mailing list