re PR c++/51613 (Ambiguous function template instantiations as template argument...
authorJason Merrill <jason@redhat.com>
Wed, 11 Jan 2012 16:46:57 +0000 (11:46 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 11 Jan 2012 16:46:57 +0000 (11:46 -0500)
commit7bb37352bed918f61a537596ea8097eb399b3883
tree529f667258c06d8b12e1b98c6ee083196a1d37c6
parent145f71b5ecfaf5efca5689f0fa84b78a7c5c70be
re PR c++/51613 (Ambiguous function template instantiations as template argument are not rejected)

PR c++/51613
* pt.c (resolve_overloaded_unification): Compare types with
same_type_p, not decls_match.

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