https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116625
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Since the difference is in main, I suspect if the function was named differently there would be no difference. That is main is known to be called once so the frequence of this is being taken into account. I suspect this is just a testcase issue.