aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/matchexp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fortran/matchexp.cc')
-rw-r--r--gcc/fortran/matchexp.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/fortran/matchexp.cc b/gcc/fortran/matchexp.cc
index 3f7140a..9e773cf 100644
--- a/gcc/fortran/matchexp.cc
+++ b/gcc/fortran/matchexp.cc
@@ -133,6 +133,7 @@ gfc_get_parentheses (gfc_expr *e)
e2 = gfc_get_operator_expr (&e->where, INTRINSIC_PARENTHESES, e, NULL);
e2->ts = e->ts;
e2->rank = e->rank;
+ e2->corank = e->corank;
return e2;
}