https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88118
--- Comment #5 from Marc Glisse <glisse at gcc dot gnu.org> --- "An implementation is allowed to omit a call to a replaceable global allocation function" (not any operator new) so I am not sure DECL_IS_OPERATOR_NEW is the right test.