https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119930
--- Comment #19 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #18) > (In reply to Richard Biener from comment #17) > > I'm not sure why this was marked as 15 regression, 15.1 works for me, so > > does 15.2. > > Because the slightly modified testcase in comment #8 is failing in GCC > 15.1.0 too. the only difference between this testcase and the testcase in > the testsuite is the main is renamed to f and then main calls f. Meaning r16-89 exposed the latent bug in GCC 15 and bisecting the testcase in comment #8 gets us to r15-5595 . I have not figured out why -fassume-sane-operators-new-delete would cause the failure yet.
