https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119930
--- Comment #10 from Sam James <sjames at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #9) > 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). It goes back to r15-5595-g27778979c9a1e3 (i.e. -fno-assume-sane-operators-new-delete works).