[Bug debug/66468] [6 Regression] ICE in in check_die, at dwarf2out.c:5719

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jul 21 17:10:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66468

--- Comment #10 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Aldy Hernandez from comment #9)
> Do you think perhaps we could diagnose this sort of problem earlier so 
> it doesn't show up (confusingly) in dwarf2out land?

I'm not sure where to check that outside dwarf2out.

I tried adding

  gcc_checking_assert (cgraph_function_possibly_inlined_p (decl));

in gen_inlined_subroutine_die to make the problem clearer, and I get a bunch of
new failures in the debug tests, so it doesn't seem to be limited to LTO.



More information about the Gcc-bugs mailing list