2021-04-30 Kwok Cheung Yeung <kcy@codesourcery.com>
gcc/testsuite/
* c-c++-common/goacc/note-parallelism-1-kernels-straight-line.c: Add
-Wopenacc-parallelism option.
* c-c++-common/goacc/orphan-reductions-2.c: Likewise.
* gfortran.dg/goacc/orphan-reductions-2.f90: Likewise.
+2021-04-30 Kwok Cheung Yeung <kcy@codesourcery.com>
+
+ * c-c++-common/goacc/note-parallelism-1-kernels-straight-line.c: Add
+ -Wopenacc-parallelism option.
+ * c-c++-common/goacc/orphan-reductions-2.c: Likewise.
+ * gfortran.dg/goacc/orphan-reductions-2.f90: Likewise.
+
2021-04-30 Kwok Cheung Yeung <kcy@codesourcery.com>
Backport from mainline
construct containing straight-line code. */
/* { dg-additional-options "-fopt-info-note-optimized-omp" } */
+/* { dg-additional-options "-Wopenacc-parallelism" } */
//TODO update accordingly
/* See also "../../gfortran.dg/goacc/note-parallelism.f90". */
/* Verify that the error message for gang reduction on orphaned OpenACC loops
is not reported for non-orphaned loops. */
+/* { dg-additional-options "-Wopenacc-parallelism" } */
+
#include <assert.h>
int
! Verify that the error message for gang reductions on orphaned OpenACC loops
! is not reported for non-orphaned loops.
+! { dg-additional-options "-Wopenacc-parallelism" }
+
subroutine kernels
implicit none