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 ...