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: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 10 Dec 2012 00:56:28 +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
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-12-10
Ever Confirmed|0 |1
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-12-10 00:56:28 UTC ---
Your destructor calls terminate() according to C++11, it should be declared
noexcept(false) to demonstrate the bug.