]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/constexpr.c
PR c++/72457 - ICE with list-value-initialized base.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Jul 2016 14:03:26 +0000 (14:03 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Jul 2016 14:03:26 +0000 (14:03 +0000)
commitc678e23e394c74e2167801e80442cf07386087df
treecaf02d93d793e5bfc7d13777fd2c3e6f62d7ab91
parent5034d13878ee2a824cdef597adf40c667217cc96
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@238867 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/cp/init.c
gcc/testsuite/g++.dg/cpp0x/constexpr-list1.C [new file with mode: 0644]