------- Comment #9 from jason at gcc dot gnu dot org 2010-05-24 20:33 ------- Subject: Bug 41510
Author: jason Date: Mon May 24 20:33:06 2010 New Revision: 159796 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159796 Log: PR c++/41510 * decl.c (check_initializer): Don't wrap an init-list in a TREE_LIST. * init.c (build_aggr_init): Don't assume copy-initialization if init has CONSTRUCTOR_IS_DIRECT_INIT. * call.c (build_new_method_call): Sanity check. Added: branches/gcc-4_5-branch/gcc/testsuite/g++.dg/cpp0x/initlist35.C Modified: branches/gcc-4_5-branch/gcc/cp/ChangeLog branches/gcc-4_5-branch/gcc/cp/call.c branches/gcc-4_5-branch/gcc/cp/decl.c branches/gcc-4_5-branch/gcc/cp/init.c branches/gcc-4_5-branch/gcc/testsuite/ChangeLog branches/gcc-4_5-branch/gcc/testsuite/g++.dg/init/brace6.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41510