[Bug libstdc++/106477] With -fno-exception operator new(nothrow) aborts instead of returning null

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 20 10:25:34 GMT 2023


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.


More information about the Gcc-bugs mailing list