https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123279
--- Comment #14 from Robin Dapp <rdapp at gcc dot gnu.org> --- Fixed on trunk. This is surely latent on 15 as well but I haven't checked if we even backported the other LTO fix that would be a prerequisite for this one here. If it applies cleanly I'm inclined to go ahead with the backport.
