[Bug c++/66686] Instantiation of dependent template template parameter with non-dependent template rejected
ppalka at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jul 1 01:08:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66686
--- Comment #7 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Author: ppalka
Date: Wed Jul 1 01:07:35 2015
New Revision: 225220
URL: https://gcc.gnu.org/viewcvs?rev=225220&root=gcc&view=rev
Log:
Fix PR c++/66686 (dependent template template substitution)
gcc/cp/ChangeLog:
PR c++/66686
* pt.c (coerce_template_template_parm) [PARM_DECL]: Don't
return 0 if tsubst returns a dependent type.
gcc/testsuite/ChangeLog:
PR c++/66686
* g++.dg/template/pr66686.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/template/pr66686.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list