[Bug c++/23055] overload resolution does not find templated function (zero -> pointer)
ppluzhnikov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 10 17:28:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23055
--- Comment #11 from ppluzhnikov at gcc dot gnu.org ---
Author: ppluzhnikov
Date: Fri Jan 10 17:27:39 2014
New Revision: 206534
URL: http://gcc.gnu.org/viewcvs?rev=206534&root=gcc&view=rev
Log:
For Google b/12471166, backport r197790 from trunk:
2013-04-11 Jason Merrill <jason@redhat.com>
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.
Added:
branches/google/gcc-4_8/gcc/testsuite/g++.dg/template/non-deducible1.C
Modified:
branches/google/gcc-4_8/gcc/cp/pt.c
branches/google/gcc-4_8/gcc/testsuite/g++.dg/template/nontype25.C
More information about the Gcc-bugs
mailing list