aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/cp-array-notation.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/cp-array-notation.c')
-rw-r--r--gcc/cp/cp-array-notation.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cp/cp-array-notation.c b/gcc/cp/cp-array-notation.c
index a0c54fd..36d6624 100644
--- a/gcc/cp/cp-array-notation.c
+++ b/gcc/cp/cp-array-notation.c
@@ -1198,6 +1198,10 @@ expand_array_notation_exprs (tree t)
}
case OMP_PARALLEL:
+ OMP_PARALLEL_BODY (t)
+ = expand_array_notation_exprs (OMP_PARALLEL_BODY (t));
+ return t;
+
case OMP_TASK:
case OMP_FOR:
case OMP_SINGLE: