https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87732
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Detect and eliminate |Detect and eliminate |unnecessary alloc/free |unnecessary new/delete |pairs |pairs --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- We can do this for malloc/free but not for new/delete. DCE does this.