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