diff options
author | Jason Merrill <jason@redhat.com> | 2014-12-11 22:48:55 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2014-12-11 22:48:55 -0500 |
commit | 89631a43369a94bcce9a3a3b3063a75972754a5a (patch) | |
tree | 957668d11d15ae27eea8fc37f49bc6c98e00cb03 /gcc/cp/lambda.c | |
parent | 923e09ee92afd63f0e6aff37ed796952196bb60b (diff) | |
download | gcc-89631a43369a94bcce9a3a3b3063a75972754a5a.zip gcc-89631a43369a94bcce9a3a3b3063a75972754a5a.tar.gz gcc-89631a43369a94bcce9a3a3b3063a75972754a5a.tar.bz2 |
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
Diffstat (limited to 'gcc/cp/lambda.c')
0 files changed, 0 insertions, 0 deletions