summaryrefslogtreecommitdiffstats
path: root/gcc/cp/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/init.c')
-rw-r--r--gcc/cp/init.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/cp/init.c b/gcc/cp/init.c
index 7dd15d2e1df..95b57b2e8ef 100644
--- a/gcc/cp/init.c
+++ b/gcc/cp/init.c
@@ -2675,8 +2675,6 @@ build_dtor_call (tree exp, special_function_kind dtor_kind, int flags)
default:
gcc_unreachable ();
}
-
- exp = convert_from_reference (exp);
fn = lookup_fnfields (TREE_TYPE (exp), name, /*protect=*/2);
return build_new_method_call (exp, fn,
/*args=*/NULL_TREE,
OpenPOWER on IntegriCloud