https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102067
--- Comment #23 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to Sam Mish from comment #22) > I'm hitting an issue similar to this in one of my projects: > > gcc-12 (Ubuntu 12.1.0-2ubuntu1~22.04) 12.1.0 > > > When linking with lto on a optimized build, gcc12 is crashing (apologies for > the long link line) > Good! Can you please provide steps how to build the reproducer project?