[Bug bootstrap/56593] LTO profiledbootstrap fails for Ada

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 12 16:34:00 GMT 2013


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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-03-12
                 CC|                            |ebotcazou at gcc dot
                   |                            |gnu.org
     Ever Confirmed|0                           |1

--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2013-03-12 16:34:15 UTC ---
The ICE in output_die is a known issue: when LTO puts nested and parent
functions in different partitions, implicit assumptions made in dwarf2out.c are
no longer valid and DIEs end up with no parent.  We use this patch internally:

    * dwarf2out.c (fixup_limbo_list): New function extracted from...
    In LTO mode, iterate until the list is fully drained.
    (dwarf2out_finish): ...here.  Call it both after regular processing
    and after the call to resolve_addr in LTO mode.
lto/
    * lto.c (lto_register_var_decl_in_symtab): Do not change the assembler
    name in LTRANS mode.

to make -g sort of work in LTO mode.  The other issue is new I think.



More information about the Gcc-bugs mailing list