[Bug c++/55635] Deallocation function ("operator delete") not called when destructor throws exception
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 10 00:56:00 GMT 2012
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.
More information about the Gcc-bugs
mailing list