diff options
author | Jason Merrill <jason@redhat.com> | 2013-03-28 14:21:06 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2013-03-28 14:21:06 -0400 |
commit | 2b24855e1efd2caad72bf7b6132a3be0981cdfe3 (patch) | |
tree | b653fabcd551139e4fa8edf62c9316f0ab483238 /gcc/cp/class.c | |
parent | f5e44182eb3a89ef9cf0a51d2898d8f4111252d2 (diff) | |
download | gcc-2b24855e1efd2caad72bf7b6132a3be0981cdfe3.zip gcc-2b24855e1efd2caad72bf7b6132a3be0981cdfe3.tar.gz gcc-2b24855e1efd2caad72bf7b6132a3be0981cdfe3.tar.bz2 |
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
Diffstat (limited to 'gcc/cp/class.c')
-rw-r--r-- | gcc/cp/class.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |