------- Comment #6 from jason at gcc dot gnu dot org  2009-07-12 19:19 -------
Subject: Bug 40689

Author: jason
Date: Sun Jul 12 19:19:03 2009
New Revision: 149533

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149533
Log:
        PR c++/40689
        * init.c (build_new_1): Handle initializer list as array initializer.
        (build_vec_init): Likewise.
        * typeck.c (cp_build_modify_expr): Likewise.
        * typeck2.c (process_init_constructor_array): Error rather than abort
        if too many initializers.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/initlist20.C
    trunk/gcc/testsuite/g++.dg/cpp0x/initlist21.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/init.c
    trunk/gcc/cp/typeck.c
    trunk/gcc/cp/typeck2.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40689

Reply via email to