]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/35146 (weird error in template function specialization)
authorJason Merrill <jason@redhat.com>
Tue, 7 Apr 2009 03:50:49 +0000 (23:50 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 7 Apr 2009 03:50:49 +0000 (23:50 -0400)
commitb2c4e6eb98aaeb8edd090d4edd1333b36d151e6d
treeeaf5a0340296b6c8c511e7769e767b9ce8b94bba
parentd06e0688daad154f3136893c2f44a3c59bbb8603
re PR c++/35146 (weird error in template function specialization)

PR c++/35146
* pt.c (fn_type_unification): For DEDUCE_EXACT check that
the deduced template arguments give us the parameter types
we're looking for.

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