Re: dwarf2out suspicious code

2019-08-23 Thread Richard Biener
On Thu, Aug 22, 2019 at 8:59 PM Nathan Sidwell wrote: > > Honza, Ricard, > > I fell over this assert in dwarf2out.c, but the later comment says it > can happen?? does a checking build fail on LTO? Huh, certainly loosks odd. So I suggest you try yourself (with LTO bootstrap?). It was added as a

dwarf2out suspicious code

2019-08-22 Thread Nathan Sidwell
Honza, Ricard, I fell over this assert in dwarf2out.c, but the later comment says it can happen?? does a checking build fail on LTO? static inline void add_AT_die_ref (dw_die_ref die, enum dwarf_attribute attr_kind, dw_die_ref targ_die) { dw_attr_node attr; gcc_checking_assert (targ_die