https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92879
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization CC| |rguenth at gcc dot gnu.org --- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- There's eventually the possibility to adjust call_may_clobber_ref_p_1 to handle calls that are DECL_IS_REPLACEABLE_OPERATOR_NEW_P specially. Not sure why that is "replaceable" but you mention new is not replaceable... Ah, there's also DECL_IS_OPERATOR_NEW_P (but docs say it's to be used for alias analysis on the resulting ptr).