https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106477
--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Nikita Kniazev from comment #8) > bug 93016 might be related? Not really. This is about the behaviour of the library's operator new. In 93016 the compiler should never even call the library function, because the new-expression is erroneous.