This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/53868] Temporary for indirect binding is not destroyed when destructor from initializer temp throws
- 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: Fri, 06 Jul 2012 08:17:16 +0000
- Subject: [Bug c++/53868] Temporary for indirect binding is not destroyed when destructor from initializer temp throws
- Auto-submitted: auto-generated
- References: <bug-53868-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53868
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-07-06 08:17:16 UTC ---
(It doesn't matter for 4.7 but you need noexcept(false) on Q::~Q to use the
testcase on trunk)