From 7c640779bf042ceb05fe50260307af88fed75407 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Fri, 16 Apr 2021 16:08:19 +0200 Subject: [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. --- libgomp/testsuite/libgomp.oacc-c-c++-common/par-reduction-1.c | 2 -- libgomp/testsuite/libgomp.oacc-c-c++-common/par-reduction-2.c | 2 -- libgomp/testsuite/libgomp.oacc-c-c++-common/parallel-reduction.c | 1 - libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-5.c | 1 - libgomp/testsuite/libgomp.oacc-c-c++-common/reduction-6.c | 1 - libgomp/testsuite/libgomp.oacc-fortran/parallel-reduction.f90 | 1 - libgomp/testsuite/libgomp.oacc-fortran/reduction-1.f90 | 1 - libgomp/testsuite/libgomp.oacc-fortran/reduction-5.f90 | 1 - libgomp/testsuite/libgomp.oacc-fortran/reduction-6.f90 | 2 +- libgomp/testsuite/libgomp.oacc-fortran/reduction-7.f90 | 1 - 10 files changed, 1 insertion(+), 12 deletions(-) (limited to 'libgomp') 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 /* 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 #include 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 #include 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 -- cgit v1.1