https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110845
--- Comment #4 from KL ---
My mistake indeed,
You are right everything is OK :+1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110845
Xi Ruoyao changed:
What|Removed |Added
CC||xry111 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110845
--- Comment #2 from KL ---
Changed main to foo:
same behavior
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110845
--- Comment #1 from Andrew Pinski ---
Gcc has an heuristic for main where gcc knows that main is called only once and
does not inline as much into a function that will ever be called exactly once.
My bet if you Rename main to foo, gcc will