This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/41449] Partial aggregate initialization not cleaned up on exception
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 20 Oct 2011 19:13:54 +0000
- Subject: [Bug c++/41449] Partial aggregate initialization not cleaned up on exception
- Auto-submitted: auto-generated
- References: <bug-41449-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41449
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-10-20 19:13:54 UTC ---
Author: jason
Date: Thu Oct 20 19:13:51 2011
New Revision: 180267
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180267
Log:
PR c++/41449
* typeck2.c (split_nonconstant_init_1): Handle EH cleanup of
initialized subobjects.
Added:
trunk/gcc/testsuite/g++.dg/eh/partial1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/typeck2.c
trunk/gcc/testsuite/ChangeLog