https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86141
--- Comment #6 from ASA <aaron_sami_abassi at hotmail dot com> --- (In reply to Andrew Pinski from comment #5) > Try renaming main first. Gcc knows that main is only called once ever so > gcc's inling heuristics are different inside main. Same result.