This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/72457] [6/7 Regression] ICE: Segmentation fault
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 29 Jul 2016 14:08:34 +0000
- Subject: [Bug c++/72457] [6/7 Regression] ICE: Segmentation fault
- Auto-submitted: auto-generated
- References: <bug-72457-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72457
--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Jul 29 14:08:03 2016
New Revision: 238868
URL: https://gcc.gnu.org/viewcvs?rev=238868&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:
branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-list1.C
Modified:
branches/gcc-6-branch/gcc/cp/ChangeLog
branches/gcc-6-branch/gcc/cp/constexpr.c
branches/gcc-6-branch/gcc/cp/init.c