From 2b24855e1efd2caad72bf7b6132a3be0981cdfe3 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Thu, 28 Mar 2013 14:21:06 -0400 Subject: re PR c++/17232 ([DR 1640] classes and class template specializations treated differently w.r.t. core issue #337) PR c++/17232 PR c++/52748 * typeck2.c (abstract_virtuals_error_sfinae): Don't complete the type if tf_decltype is set. * pt.c (fn_type_unification): Add decltype_p parm. (get_bindings): Adjust. * cp-tree.h: Adjust. * class.c (resolve_address_of_overloaded_function): Adjust. * call.c (add_template_candidate_real, print_z_candidate): Adjust. From-SVN: r197214 --- gcc/cp/class.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/cp/class.c') diff --git a/gcc/cp/class.c b/gcc/cp/class.c index b48b353..956d5aa 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -7253,7 +7253,7 @@ resolve_address_of_overloaded_function (tree target_type, instantiation = fn_type_unification (fn, explicit_targs, targs, args, nargs, target_ret_type, DEDUCE_EXACT, LOOKUP_NORMAL, - false); + false, false); if (instantiation == error_mark_node) /* Instantiation failed. */ continue; -- cgit v1.1