https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119930
--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The only difference between the testcase in comment #8 and the one in the testsuite is that the code is moved to a named function other than main and then that function is called from main. This is to remove the inlining heurstics differences between GCC 15 and 16 (r16-372).