[Bug c++/78701] [6/7 Regression] ICE: unexpected expression N of kind template_parm_index
nathan at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 14 17:23:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78701
--- Comment #6 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Wed Dec 14 17:23:06 2016
New Revision: 243660
URL: https://gcc.gnu.org/viewcvs?rev=243660&root=gcc&view=rev
Log:
PR c++/78701
* pt.c (type_unification_real): Check tsubst arg doesn't have
remaining template parms before converting it.
PR c++/78701
* g++.dg/cpp0x/pr78701.C: New.
Added:
branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/pr78701.C
Modified:
branches/gcc-6-branch/gcc/cp/ChangeLog
branches/gcc-6-branch/gcc/cp/pt.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list