[Bug tree-optimization/94293] [missed optimization] Useless statements populating local string not removed
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Mar 24 07:46:12 GMT 2020
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.
More information about the Gcc-bugs
mailing list