aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/typeck2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/typeck2.cc')
-rw-r--r--gcc/cp/typeck2.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/cp/typeck2.cc b/gcc/cp/typeck2.cc
index 8e63fb1..309903a 100644
--- a/gcc/cp/typeck2.cc
+++ b/gcc/cp/typeck2.cc
@@ -2214,7 +2214,6 @@ build_x_arrow (location_t loc, tree expr, tsubst_flags_t complain)
TREE_TYPE (expr) = ttype;
return expr;
}
- expr = build_non_dependent_expr (expr);
}
if (MAYBE_CLASS_TYPE_P (type))