https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111769
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- IIRC there was a bug about this specific thing which was closed as fixed with the use of LTO ...
pinskia at gcc dot gnu.org via Gcc-bugs Wed, 11 Oct 2023 09:53:29 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111769
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- IIRC there was a bug about this specific thing which was closed as fixed with the use of LTO ...