PR c++/56377
* pt.c (fn_type_unification): Use explicit args in template
instantiation context.
From-SVN: r196230
2013-02-22 Jason Merrill <jason@redhat.com>
+ PR c++/56377
+ * pt.c (fn_type_unification): Use explicit args in template
+ instantiation context.
+
PR c++/56359
* call.c (can_convert_arg): Discard access checks.
processing_template_decl += incomplete;
input_location = DECL_SOURCE_LOCATION (fn);
+ TREE_VALUE (tinst) = explicit_targs;
fntype = tsubst (TREE_TYPE (fn), explicit_targs,
complain | tf_partial, NULL_TREE);
+ TREE_VALUE (tinst) = targs;
input_location = loc;
processing_template_decl -= incomplete;