[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 18:12:00 GMT 2015


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

--- Comment #11 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Jason Merrill from comment #10)
> 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.

...but changing that to

  gcc_checking_assert (DECL_ABSTRACT_P (decl)
                       || cgraph_function_possibly_inlined_p (decl));

resolves the testsuite failures, and just fires on this LTO testcase.



More information about the Gcc-bugs mailing list