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  <hubi...@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.

Reply via email to