[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.
This commit is contained in:
Thomas Schwinge 2021-04-16 16:08:19 +02:00
parent b972e036f4
commit 7c640779bf
10 changed files with 1 additions and 12 deletions

View file

@ -1,5 +1,3 @@
/* { dg-additional-options "-w" } */
#include <assert.h>
/* Test of reduction on parallel directive. */

View file

@ -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>

View file

@ -1,5 +1,4 @@
/* { dg-do run } */
/* { dg-additional-options "-w" } */
#include <stdlib.h>
#include <openacc.h>

View file

@ -1,5 +1,4 @@
/* { dg-do run } */
/* { dg-additional-options "-w" } */
/* Multiple reductions. */

View file

@ -1,5 +1,4 @@
/* { dg-do run } */
/* { dg-additional-options "-w" } */
/* Test reductions on explicitly private variables. */

View file

@ -1,5 +1,4 @@
! { dg-do run }
! { dg-additional-options "-w" }
program reduction
implicit none

View file

@ -1,5 +1,4 @@
! { dg-do run }
! { dg-additional-options "-w" }
! Integer reductions

View file

@ -1,5 +1,4 @@
! { dg-do run }
! { dg-additional-options "-w" }
! subroutine reduction

View file

@ -1,5 +1,5 @@
! { dg-do run }
! { dg-additional-options "-cpp -w" }
! { dg-additional-options "-cpp" }
program reduction
implicit none

View file

@ -1,5 +1,4 @@
! { dg-do run }
! { dg-additional-options "-w" }
! subroutine reduction with private and firstprivate variables