Fix PR c++/66686 (dependent template template substitution)
authorPatrick Palka <ppalka@gcc.gnu.org>
Wed, 1 Jul 2015 01:07:35 +0000 (01:07 +0000)
committerPatrick Palka <ppalka@gcc.gnu.org>
Wed, 1 Jul 2015 01:07:35 +0000 (01:07 +0000)
commitf58d5e069d601551cbc072919789e46f7fe3c77d
treeceb0b7ee730b66f97ae75356921decf7c2eff6d1
parent5be6d9e45fe62addd10ca7950f594f8aeef3f07b
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.

From-SVN: r225220
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/pr66686.C [new file with mode: 0644]