https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106943
--- Comment #8 from Alexander Monakov <amonakov at gcc dot gnu.org> --- Ah, forgot to mention that compiler the offending User.cpp without -flto also avoids the problem.
amonakov at gcc dot gnu.org via Gcc-bugs Thu, 11 May 2023 13:29:39 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106943
--- Comment #8 from Alexander Monakov <amonakov at gcc dot gnu.org> --- Ah, forgot to mention that compiler the offending User.cpp without -flto also avoids the problem.