PR c++/70565
* cp-array-notation.c (expand_array_notation_exprs): Handle
OMP_PARALLEL.
From-SVN: r244538
+2017-01-17 Aldy Hernandez <aldyh@redhat.com>
+
+ PR c++/70565
+ * cp-array-notation.c (expand_array_notation_exprs): Handle
+ OMP_PARALLEL.
+
2017-01-11 Jason Merrill <jason@redhat.com>
PR c++/78337 - ICE on invalid with generic lambda
}
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:
--- /dev/null
+// { dg-do compile } */
+// { dg-options "-fcilkplus" }
+
+int array[999];
+void foo()
+{
+ _Cilk_for (int i=0; i < 999; ++i)
+ array[:] = 0;
+}