https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115712
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #5) > r15-571-g1e0ae1f52741f7 is my guess. The reason is the DSE is able to remove the store due to the clobbers and then dce finally can remove the operator new/operator delete pair.