[Bug lto/53754] [lto] ICE in lhd_decl_printable_name, at langhooks.c:222 (with -g)

markus at trippelsdorf dot de gcc-bugzilla@gcc.gnu.org
Sat Jun 23 14:11:00 GMT 2012


Markus Trippelsdorf <markus at trippelsdorf dot de> changed:

           What    |Removed                     |Added
                 CC|                            |ccoutant at google dot com

--- Comment #2 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-06-23 14:10:51 UTC ---
Started with rev.188857:

7a99ccab400806a8bdde875f7154086401d7cfc6 is the first bad commit
commit 7a99ccab400806a8bdde875f7154086401d7cfc6
Author: sterling <sterling@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Thu Jun 21 18:16:05 2012 +0000

    2012-06-21   Sterling Augustine  <saugustine@google.com>
            Cary Coutant  <ccoutant@google.com>

        * dwarf2out.c (is_cu_die, is_namespace_die, is_class_die,
        add_AT_pubnames, add_enumerator_pubname, want_pubnames): New functions.
        (comdat_type_struct): New field 'skeleton_die'.
        (breakout_comdat_types): Update it.
        (add_pubname): Rework logic.  Call is_class_die, is_cu_die and
        is_namespace_die.  Fix minor style violation.  Call want_pubnames.
        (add_pubname_string): Call want_pubnames.
        (add_pubtype): Rework logic for calculating type name.  Call
        is_namespace_die.  Call want_pubnames.
        (output_pubnames): Move conditional logic deciding when to produce the
        section from dwarf2out_finish.  Use new skeleton_die field.
        (base_type_die): Call add_pubtype.
        (gen_enumeration_type_die): Unconditionally call add_pubtype.
        (gen_subprogram_die): Adjust calls to add_pubname.
        (gen_namespace_die): Call add_pubname_string.
        (dwarf2out_finish): Call add_AT_pubnames; Move logic on when to
        produce pubnames and pubtypes sections to output_pubnames.
        (common.opt): New option '-gpubnames'.
        (invoke.texi): Document it.

More information about the Gcc-bugs mailing list