[Bug lto/106334] [13 Regression] lto -g ICE in dwarf2out_register_external_die at dwarf2out.cc:6072

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Aug 1 08:05:11 GMT 2022


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Sergei Trofimovich from comment #5)
> I'll reopen this bug. I still see the crash in original example. I can make
> #comment1 example crash by using `-flto-partition=none` in the link phase:

Meh.  OK, so change the guard to !(in_lto_p && !flag_wpa) || ...

Stupid -flto-partition=none ...


More information about the Gcc-bugs mailing list