PR c++/72457 - ICE with list-value-initialized base.
authorJason Merrill <jason@redhat.com>
Fri, 29 Jul 2016 14:03:26 +0000 (10:03 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 29 Jul 2016 14:03:26 +0000 (10:03 -0400)
commit49b5925f0251cc30e510b374700c50dc99ce3891
treecaf02d93d793e5bfc7d13777fd2c3e6f62d7ab91
parentc63b1732d520e5f047eeada4d4376932ce333d8d
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.

From-SVN: r238867
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/cp/init.c
gcc/testsuite/g++.dg/cpp0x/constexpr-list1.C [new file with mode: 0644]