https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61382
--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Mon Jun 30 14:25:21 2014 New Revision: 212150 URL: https://gcc.gnu.org/viewcvs?rev=212150&root=gcc&view=rev Log: DR 1030 PR c++/51253 PR c++/61382 * cp-tree.h (CALL_EXPR_LIST_INIT_P): New. * call.c (struct z_candidate): Add flags field. (add_candidate): Add flags parm. (add_function_candidate, add_conv_candidate, build_builtin_candidate) (add_template_candidate_real): Pass it. (build_over_call): Set CALL_EXPR_LIST_INIT_P. * tree.c (build_aggr_init_expr): Copy it. * semantics.c (simplify_aggr_init_expr): Copy it. * cp-gimplify.c (cp_gimplify_expr): Handle it. Added: branches/gcc-4_9-branch/gcc/testsuite/g++.dg/cpp0x/initlist86.C Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/cp/ChangeLog branches/gcc-4_9-branch/gcc/cp/call.c branches/gcc-4_9-branch/gcc/cp/cp-gimplify.c branches/gcc-4_9-branch/gcc/cp/cp-tree.h branches/gcc-4_9-branch/gcc/cp/semantics.c branches/gcc-4_9-branch/gcc/cp/tree.c branches/gcc-4_9-branch/gcc/gimplify.c branches/gcc-4_9-branch/gcc/gimplify.h