https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118950
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note I think -O3 -fwhole-program is enough to reproduce it and you don't need -flto.
pinskia at gcc dot gnu.org via Gcc-bugs Wed, 19 Feb 2025 18:30:04 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118950
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note I think -O3 -fwhole-program is enough to reproduce it and you don't need -flto.