https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99845
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org --- Comment #9 from Martin Sebor <msebor at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #7) > (In reply to Keith Halligan from comment #0) > > class MyType { > > public: > > void* operator new[](size_t sz, const std::nothrow_t& nt) { > > Your bug is here. This need to be noexcept. This seems like it might be worth warning about.