re PR c++/23055 (overload resolution does not find templated function (zero -> pointer))
authorJason Merrill <jason@redhat.com>
Thu, 11 Apr 2013 13:17:54 +0000 (09:17 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 11 Apr 2013 13:17:54 +0000 (09:17 -0400)
commita26780a30a985778bcd772a6bf7bc217f7cc4b00
tree9fda50c9999e171eb1f653158f73481fa4b9c423
parent752b81d9c7c4bd1ee5136874ae0852a0127cc373
re PR c++/23055 (overload resolution does not find templated function (zero -> pointer))

PR c++/23055
* pt.c (uses_deducible_template_parms): New.
(deducible_array_bound, deducible_expression): New.
(deducible_template_args): New.
(unify_one_argument): Call uses_deducible_template_parms.

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