https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110793
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marxin at gcc dot gnu.org Component|c++ |ipa --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Actually this is more likely inlining heuristics that know that main is only called once ever and does not inline as much into it. Try renaming main to foo and try again b