This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PR debug/87295] ICE in dwarf2out


Richard, Jan,  as early debug experts perhaps you can clue me in?

87295 is an ICE in lookup_external_ref, we strcmp a NULL die->die_id.die_symbol.

The die is being cloned in clone_as_declaration during a copy_ancestor_tree walk ultimately coming from copy_decls_for_unworthy_types.

The incoming die is DW_TAG_structure_type with comdat_type_p set. We create a new_die_raw, which has NULL die_id.die_symbol and then never set that field (or another piece of the die_id union).

How is this supposed to work?

nathan
--
Nathan Sidwell


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]