This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/55635] Deallocation function ("operator delete") not called when destructor throws exception
- From: "joedoefawnbuck at googlemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 10 Dec 2012 09:08:46 +0000
- Subject: [Bug c++/55635] Deallocation function ("operator delete") not called when destructor throws exception
- Auto-submitted: auto-generated
- References: <bug-55635-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55635
--- Comment #2 from Kerrek SB <joedoefawnbuck at googlemail dot com> 2012-12-10 09:08:46 UTC ---
Interesting, thank you!
The bug remains, however, both with -std=c++11 and noexcept(false), and with
-std=c++98 and throw(int).
Also, with noexcept(false) GCC will *not* call terminate()...