https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94294
--- Comment #2 from Marc Glisse <glisse at gcc dot gnu.org> --- (In reply to Eyal Rozenberg from comment #0) > Note: I suppose it's theoretically possible that this bug only manifests > because bug 94293 prevents the allocated space from being recognized as > unused; but I can't tell whether that's the case. Pretty sure that's the case, gcc removes new/delete pairs now when nothing writes to that memory.