https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99851
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- And just to be clear, this should apply to operator new and operator new[]. The examples above both use the array form, but there's no reason this shouldn't apply to the single object form too.