]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite/libgomp.oacc-fortran/: Add -Wopenacc-parallelism
authorTobias Burnus <tobias@codesourcery.com>
Thu, 21 Oct 2021 07:28:57 +0000 (09:28 +0200)
committerKwok Cheung Yeung <kcy@codesourcery.com>
Tue, 21 Jun 2022 13:11:41 +0000 (14:11 +0100)
The following testcases expect the -Wopenacc-parallelism warning output
but did fail as not compiled with that warning; solution: add it.

libgomp/ChangeLog:

* testsuite/libgomp.oacc-fortran/declare-allocatable-1.f90: Compile
with -Wopenacc-parallelism.
* testsuite/libgomp.oacc-fortran/declare-allocatable-3.f90: Likewise.

libgomp/ChangeLog.omp
libgomp/testsuite/libgomp.oacc-fortran/declare-allocatable-1.f90
libgomp/testsuite/libgomp.oacc-fortran/declare-allocatable-3.f90

index 5a8a4687ade5a77f03aa7173f2bfc86765afefcc..20e94c67535d46904cc2ea078585cde5f87007e8 100644 (file)
@@ -1,3 +1,9 @@
+2021-10-21  Tobias Burnus  <tobias@codesourcery.com>
+
+       * testsuite/libgomp.oacc-fortran/declare-allocatable-1.f90: Compile
+       with -Wopenacc-parallelism.
+       * testsuite/libgomp.oacc-fortran/declare-allocatable-3.f90: Likewise.
+
 2021-08-03  Andrew Stubbs  <ams@codesourcery.com>
 
        * config/gcn/bar.h (gomp_barrier_init): Limit thread count to the
index ec7f7c18ff32e03a43fdbf8912b14043842852f0..c231b9aa574c9c898e1a5c228c4aa7bdf5223193 100644 (file)
@@ -1,6 +1,7 @@
 ! Test declare create with allocatable arrays.
 
 ! { dg-do run }
+! { dg-additional-options "-Wopenacc-parallelism" }
 
 module vars
   implicit none
index 9381b00343de36da42b5f0c4d05c12f4bf6ddf0b..c64d4bbe2112fe708385c6779ad0f74100b554d0 100644 (file)
@@ -1,6 +1,7 @@
 ! Test declare create with allocatable arrays.
 
 ! { dg-do run }
+! { dg-additional-options "-Wopenacc-parallelism" }
 
 module vars
   implicit none