https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118521
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2025-01-16
Ever confirmed|0 |1
Status|UNCONFIRMED |WAITING
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
So this only happens if used with main ...
If I rename main to main1, then the warning does not show up.
That points to inlining differences.
Is this reduced from a larger different testcase or was this found just by
accident?