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

--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Jul 29 14:03:26 2016
New Revision: 238867

URL: https://gcc.gnu.org/viewcvs?rev=238867&root=gcc&view=rev
Log:
        PR c++/72457 - ICE with list-value-initialized base.

        * init.c (expand_aggr_init_1): Only handle value-init of bases.
        * constexpr.c (build_data_member_initialization): Handle multiple
        initializers for the same field.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-list1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/constexpr.c
    trunk/gcc/cp/init.c

Reply via email to