[Bug c++/70332] [5/6 Regression] ICE on x86_64-linux-gnu in tsubst_copy, at cp/pt.c:13887
ppalka at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 23 21:03:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70332
--- Comment #2 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Author: ppalka
Date: Wed Mar 23 21:02:34 2016
New Revision: 234442
URL: https://gcc.gnu.org/viewcvs?rev=234442&root=gcc&view=rev
Log:
Fix PR c++/70332 (ICE due to aggregate initialization of NSDMI)
gcc/cp/ChangeLog:
PR c++/70332
* pt.c (tsubst_copy) [PARM_DECL]: Handle the use of 'this' in an
NSDMI that's part of an aggregrate initialization.
gcc/testsuite/ChangeLog:
PR c++/70332
* g++.dg/cpp1y/nsdmi-aggr5.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/cpp1y/nsdmi-aggr5.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list