https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65815

--- Comment #9 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Tue Jun  9 14:59:08 2015
New Revision: 224286

URL: https://gcc.gnu.org/viewcvs?rev=224286&root=gcc&view=rev
Log:
/cp
2015-06-09  Paolo Carlini  <paolo.carl...@oracle.com>

        PR c++/65815
        * typeck2.c (digest_nsdmi_init): On aggregates use reshape_init.
        * init.c (expand_default_init): Likewise.

/testsuite
2015-06-09  Paolo Carlini  <paolo.carl...@oracle.com>

        PR c++/65815
        * g++.dg/cpp0x/nsdmi-aggr1.C: New.
        * g++.dg/cpp0x/mem-init-aggr1.C: Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/mem-init-aggr1.C
    trunk/gcc/testsuite/g++.dg/cpp0x/nsdmi-aggr1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/init.c
    trunk/gcc/cp/typeck2.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to