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

aldyh at redhat dot com gcc-bugzilla@gcc.gnu.org
Tue Jul 21 15:35:00 GMT 2015


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

--- Comment #9 from Aldy Hernandez <aldyh at redhat dot com> ---
On 07/20/2015 03:14 PM, jason at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66468
>
> --- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> ---
> The problem seems to be that we inlined the function, but DECL_POSSIBLY_INLINED
> remains unset, so dwarf2out doesn't think it needs to call
> dwarf2out_abstract_function.
>
> There also doesn't seem to be a cgraph edge for the inlined function call; I'm
> guessing that the function was inlined in the initial compilation, and this
> relationship is forgotten by the time we get to LTO.
>
> So, doesn't look like a dwarf2out bug.
>

Jason, thanks for looking into this.  Sorry it wasn't dwarf2out related.

Do you think perhaps we could diagnose this sort of problem earlier so 
it doesn't show up (confusingly) in dwarf2out land?

Thanks.



More information about the Gcc-bugs mailing list