https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94293
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu.org
Status|UNCONFIRMED |NEW
Last reconfirmed| |2020-03-24
Ever confirmed|0 |1
Keywords| |missed-optimization
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
For the DSE part there's no operator delete handling in stmt_kills_ref_p. The
clobber would need to be handled by DCE which is the one eliding new/delete
pairs.
Probably both are not too difficult to handle.