aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/semantics.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/semantics.c')
-rw-r--r--gcc/cp/semantics.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c
index 20fd9c4..733c42f 100644
--- a/gcc/cp/semantics.c
+++ b/gcc/cp/semantics.c
@@ -2345,11 +2345,6 @@ perform_koenig_lookup (cp_expr fn, vec<tree, va_gc> *args,
else
fn = identifier;
}
- else if (TREE_CODE (fn) == OVERLOAD && processing_template_decl)
- /* FIXME: We shouldn't really need to mark the lookup here, as
- resolving the (non-dependent) call should save the single
- function we resolve to. Related to PR c++/83529. */
- lookup_keep (fn);
}
if (fn && template_id && fn != error_mark_node)