https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107769
Martin Jambor <jamborm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[12/13/14 Regression] -flto |[12 Regression] -flto with |with -Os/-O2/-O3 emitted |-Os/-O2/-O3 emitted code |code with gcc 12.x |with gcc 12.x segfaults via |segfaults via mutated |mutated global in .rodata |global in .rodata since |since |r12-2887-ga6da2cddcf0e959d |r12-2887-ga6da2cddcf0e959d --- Comment #9 from Martin Jambor <jamborm at gcc dot gnu.org> --- This has been fixed on master just in time to get into gcc 13 RC. Backport to gcc-12 will follow.