https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114318
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Richard Biener from comment #1) > That's because main is cold. Or rather known to be called once which causes the path to be considered cold unless there is a loop.