diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2021-04-16 16:08:19 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2021-04-26 12:05:53 +0200 |
commit | 7c640779bf042ceb05fe50260307af88fed75407 (patch) | |
tree | 64fb4401b2bee9f8c5fc8084c0b538c26186346e /libgomp | |
parent | b972e036f40c12b106f9070c3e8adea0eb8a45fa (diff) | |
download | gcc-7c640779bf042ceb05fe50260307af88fed75407.zip gcc-7c640779bf042ceb05fe50260307af88fed75407.tar.gz gcc-7c640779bf042ceb05fe50260307af88fed75407.tar.bz2 |
[OpenACC] Don't compile libgomp testcases with '-w'
We'd like to actually catch compiler diagnostics (and currently there aren't
any).
libgomp/
* testsuite/libgomp.oacc-c-c++-common/par-reduction-1.c: Don't
compile with '-w'.
* testsuite/libgomp.oacc-c-c++-common/par-reduction-2.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/parallel-reduction.c:
Likewise.
* testsuite/libgomp.oacc-c-c++-common/reduction-5.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/reduction-6.c: Likewise.
* testsuite/libgomp.oacc-fortran/parallel-reduction.f90: Likewise.
* testsuite/libgomp.oacc-fortran/reduction-1.f90: Likewise.
* testsuite/libgomp.oacc-fortran/reduction-5.f90: Likewise.
* testsuite/libgomp.oacc-fortran/reduction-6.f90: Likewise.
* testsuite/libgomp.oacc-fortran/reduction-7.f90: Likewise.
Diffstat (limited to 'libgomp')
10 files changed, 1 insertions, 12 deletions
diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/par-reduction-1.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/par-reduction-1.c index a88b60f..0c1ecc6 100644 --- a/libgomp/testsuite/libgomp.oacc-c-c++-common/par-reduction-1.c +++ b/libgomp/testsuite/libgomp.oacc-c-c++-common/par-reduction-1.c @@ -1,5 +1,3 @@ -/* { dg-additional-options "-w" } */ - #include <assert.h> /* Test of reduction on parallel directive. */ diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/par-reduction-2.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/par-reduction-2.c index 5ab52e9..e3ed281 100644 --- a/libgomp/testsuite/libgomp.oacc-c-c++-common/par-reduction-2.c +++ b/libgomp/testsuite/libgomp.oacc-c-c++-common/par-reduction-2.c @@ -1,8 +1,6 @@ /* Test of reduction on parallel directive (with async). */ /* See also Fortran variants in "../libgomp.oacc-fortran/par-reduction-2*". */ -/* { dg-additional-options "-w" } */ - #include <assert.h> #include <openacc.h> diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/parallel-reduction.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/parallel-reduction.c index 077571f..8074581 100644 --- a/libgomp/testsuite/libgomp.oacc-c-c++-common/parallel-reduction.c +++ b/libgomp/testsuite/libgomp.oacc-c-c++-common/parallel-reduction.c @@ -1,5 +1,4 @@ /* { dg-do run } */ -/* { dg-additional-options "-w" } */ #include <stdlib.h> #include <openacc.h> diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-5.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-5.c index 6f5d293..1cec9f1 100644 --- a/libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-5.c +++ b/libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-5.c @@ -1,5 +1,4 @@ /* { dg-do run } */ -/* { dg-additional-options "-w" } */ /* Multiple reductions. */ diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-6.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-6.c index af30b31..82a6ade 100644 --- a/libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-6.c +++ b/libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-6.c @@ -1,5 +1,4 @@ /* { dg-do run } */ -/* { dg-additional-options "-w" } */ /* Test reductions on explicitly private variables. */ diff --git a/libgomp/testsuite/libgomp.oacc-fortran/parallel-reduction.f90 b/libgomp/testsuite/libgomp.oacc-fortran/parallel-reduction.f90 index 487cfc4..b926f4f 100644 --- a/libgomp/testsuite/libgomp.oacc-fortran/parallel-reduction.f90 +++ b/libgomp/testsuite/libgomp.oacc-fortran/parallel-reduction.f90 @@ -1,5 +1,4 @@ ! { dg-do run } -! { dg-additional-options "-w" } program reduction implicit none diff --git a/libgomp/testsuite/libgomp.oacc-fortran/reduction-1.f90 b/libgomp/testsuite/libgomp.oacc-fortran/reduction-1.f90 index 764affd..40c1a86 100644 --- a/libgomp/testsuite/libgomp.oacc-fortran/reduction-1.f90 +++ b/libgomp/testsuite/libgomp.oacc-fortran/reduction-1.f90 @@ -1,5 +1,4 @@ ! { dg-do run } -! { dg-additional-options "-w" } ! Integer reductions diff --git a/libgomp/testsuite/libgomp.oacc-fortran/reduction-5.f90 b/libgomp/testsuite/libgomp.oacc-fortran/reduction-5.f90 index 833d0e4..a529e22 100644 --- a/libgomp/testsuite/libgomp.oacc-fortran/reduction-5.f90 +++ b/libgomp/testsuite/libgomp.oacc-fortran/reduction-5.f90 @@ -1,5 +1,4 @@ ! { dg-do run } -! { dg-additional-options "-w" } ! subroutine reduction diff --git a/libgomp/testsuite/libgomp.oacc-fortran/reduction-6.f90 b/libgomp/testsuite/libgomp.oacc-fortran/reduction-6.f90 index e76867a..249ed2e 100644 --- a/libgomp/testsuite/libgomp.oacc-fortran/reduction-6.f90 +++ b/libgomp/testsuite/libgomp.oacc-fortran/reduction-6.f90 @@ -1,5 +1,5 @@ ! { dg-do run } -! { dg-additional-options "-cpp -w" } +! { dg-additional-options "-cpp" } program reduction implicit none diff --git a/libgomp/testsuite/libgomp.oacc-fortran/reduction-7.f90 b/libgomp/testsuite/libgomp.oacc-fortran/reduction-7.f90 index a7d6dd8..8cffac9 100644 --- a/libgomp/testsuite/libgomp.oacc-fortran/reduction-7.f90 +++ b/libgomp/testsuite/libgomp.oacc-fortran/reduction-7.f90 @@ -1,5 +1,4 @@ ! { dg-do run } -! { dg-additional-options "-w" } ! subroutine reduction with private and firstprivate variables |