https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98130
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org --- Comment #15 from Jason Merrill <jason at gcc dot gnu.org> --- (In reply to Richard Biener from comment #11) Yes, any delete-expression ends the lifetime of the pointed-to object before calling the delete operator, so it seems appropriate to say that it doesn't escape.