typeck2.c
76 KB
-
PR c++/52320 - EH cleanups for partially constructed arrays. · 26a68e92
This testcase wasn't fixed by the 66139 patch; split_nonconstant_init_1 was failing to add a cleanup for an array member of a class (e.g. e1) that will run if initializing a later member (e.g. e2) throws. * typeck2.c (split_nonconstant_init_1): Add nested parm. Add cleanup for whole array if true. From-SVN: r279577
Jason Merrill committed