https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80095
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> --- commit 39786c804b3d3927f800bf8834ad849138d06136 Author: jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Fri Dec 12 03:48:55 2014 +0000 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218653 138bc75d-0d04-0410-961f-82ee72b054a4