This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/70468] [6/7/8 Regression] ICE on invalid code on x86_64-linux-gnu in emit_mem_initializers, at cp/init.c:1109
- 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, 23 Feb 2018 13:33:12 +0000
- Subject: [Bug c++/70468] [6/7/8 Regression] ICE on invalid code on x86_64-linux-gnu in emit_mem_initializers, at cp/init.c:1109
- Auto-submitted: auto-generated
- References: <bug-70468-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70468
--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Feb 23 13:32:41 2018
New Revision: 257931
URL: https://gcc.gnu.org/viewcvs?rev=257931&root=gcc&view=rev
Log:
PR c++/70468 - ICE with constructor delegation via typedef.
* pt.c (tsubst_initializer_list): Check for other mem-initializers
with constructor delegation.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/dc9.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c