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: Mon, 18 Sep 2017 18:34:30 +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 #11 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Sep 18 18:33:58 2017
New Revision: 252938
URL: https://gcc.gnu.org/viewcvs?rev=252938&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-5-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-list1.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/constexpr.c
branches/gcc-5-branch/gcc/cp/init.c