re PR c++/57510 (subobjects not destroyed when exception thrown during list-initialization)
PR c++/57510 * typeck2.c (split_nonconstant_init_1): Handle arrays here. (store_init_value): Not here. (split_nonconstant_init): Look through TARGET_EXPR. No longer static. * cp-tree.h: Declare split_nonconstant_init. * call.c (set_up_extended_ref_temp): Use split_nonconstant_init. From-SVN: r218653
Showing
gcc/testsuite/g++.dg/cpp0x/initlist90.C
0 → 100644
Please
register
or
sign in
to comment