https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63362
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org --- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> --- Created attachment 33560 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33560&action=edit initial patch Here's an initial patch, but I'm not sure how to write an expression to test that doesn't call any non-trivial function like operator new.