gcc/
* gimplify.c (gimplify_omp_workshare): Use OMP_CLAUSES, OMP_BODY
instead of OMP_TARGET_CLAUSES, OMP_TARGET_BODY.
(cherry picked from openacc-gcc-9-branch commit
53886cd9a0b09531797ddf456d9a902fc737d094)
+2019-09-06 Julian Brown <julian@codesourcery.com>
+
+ * gimplify.c (gimplify_omp_workshare): Use OMP_CLAUSES, OMP_BODY
+ instead of OMP_TARGET_CLAUSES, OMP_TARGET_BODY.
+
2019-09-05 Andrew Stubbs <ams@codesourcery.com>
Backport from mainline:
/* FIXME: Reductions are not supported in kernels regions yet. */
if (/*ort == ORT_ACC_KERNELS ||*/ ort == ORT_ACC_PARALLEL)
- localize_reductions (OMP_TARGET_CLAUSES (*expr_p),
- OMP_TARGET_BODY (*expr_p));
+ localize_reductions (OMP_CLAUSES (expr), OMP_BODY (expr));
gimple *g = gimplify_and_return_first (OMP_BODY (expr), &body);
if (gimple_code (g) == GIMPLE_BIND)