https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119978
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Component|c++ |ipa
Status|UNCONFIRMED |RESOLVED
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Oh I Missed this was inline vs main issue. Changing main to another function
name and returning 0 from there (to avoid a function without return) proves
that too.
Anyways yes this is fixed in GCC 16.