mirror of git://gcc.gnu.org/git/gcc.git
Remove superfluous -fopenmp from libgomp testcases
Reviewed-by: Thomas Schwinge <thomas@codesourcery.com> 2017-09-28 Tom de Vries <tom@codesourcery.com> * testsuite/libgomp.c++/for-12.C: Remove superfluous -fopenmp option setting. * testsuite/libgomp.c++/pr69393.C: Same. * testsuite/libgomp.c++/taskloop-1.C: Same. * testsuite/libgomp.c++/taskloop-3.C: Same. * testsuite/libgomp.c++/taskloop-4.C: Same. * testsuite/libgomp.c/for-4.c: Same. * testsuite/libgomp.c/pr66199-3.c: Same. * testsuite/libgomp.c/pr66199-4.c: Same. * testsuite/libgomp.c/pr66199-6.c: Same. * testsuite/libgomp.c/taskloop-1.c: Same. * testsuite/libgomp.c/taskloop-3.c: Same. * testsuite/libgomp.c/taskloop-4.c: Same. * testsuite/libgomp.fortran/aligned1.f03: Same. * testsuite/libgomp.fortran/condinc1.f: Same. * testsuite/libgomp.fortran/condinc3.f90: Same. * testsuite/libgomp.fortran/crayptr1.f90: Same. * testsuite/libgomp.fortran/crayptr2.f90: Same. * testsuite/libgomp.fortran/crayptr3.f90: Same. * testsuite/libgomp.fortran/omp_cond1.f: Same. * testsuite/libgomp.fortran/omp_cond3.F90: Same. * testsuite/libgomp.fortran/pr66199-1.f90: Same. * testsuite/libgomp.fortran/pr66199-2.f90: Same. * testsuite/libgomp.fortran/recursion1.f90: Same. * testsuite/libgomp.fortran/target2.f90: Same. * testsuite/libgomp.fortran/target5.f90: Same. * testsuite/libgomp.fortran/task3.f90: Same. From-SVN: r253250
This commit is contained in:
parent
7d6206fe29
commit
5c561fa938
|
|
@ -1,3 +1,33 @@
|
|||
2017-09-28 Tom de Vries <tom@codesourcery.com>
|
||||
|
||||
* testsuite/libgomp.c++/for-12.C: Remove superfluous -fopenmp option
|
||||
setting.
|
||||
* testsuite/libgomp.c++/pr69393.C: Same.
|
||||
* testsuite/libgomp.c++/taskloop-1.C: Same.
|
||||
* testsuite/libgomp.c++/taskloop-3.C: Same.
|
||||
* testsuite/libgomp.c++/taskloop-4.C: Same.
|
||||
* testsuite/libgomp.c/for-4.c: Same.
|
||||
* testsuite/libgomp.c/pr66199-3.c: Same.
|
||||
* testsuite/libgomp.c/pr66199-4.c: Same.
|
||||
* testsuite/libgomp.c/pr66199-6.c: Same.
|
||||
* testsuite/libgomp.c/taskloop-1.c: Same.
|
||||
* testsuite/libgomp.c/taskloop-3.c: Same.
|
||||
* testsuite/libgomp.c/taskloop-4.c: Same.
|
||||
* testsuite/libgomp.fortran/aligned1.f03: Same.
|
||||
* testsuite/libgomp.fortran/condinc1.f: Same.
|
||||
* testsuite/libgomp.fortran/condinc3.f90: Same.
|
||||
* testsuite/libgomp.fortran/crayptr1.f90: Same.
|
||||
* testsuite/libgomp.fortran/crayptr2.f90: Same.
|
||||
* testsuite/libgomp.fortran/crayptr3.f90: Same.
|
||||
* testsuite/libgomp.fortran/omp_cond1.f: Same.
|
||||
* testsuite/libgomp.fortran/omp_cond3.F90: Same.
|
||||
* testsuite/libgomp.fortran/pr66199-1.f90: Same.
|
||||
* testsuite/libgomp.fortran/pr66199-2.f90: Same.
|
||||
* testsuite/libgomp.fortran/recursion1.f90: Same.
|
||||
* testsuite/libgomp.fortran/target2.f90: Same.
|
||||
* testsuite/libgomp.fortran/target5.f90: Same.
|
||||
* testsuite/libgomp.fortran/task3.f90: Same.
|
||||
|
||||
2017-09-28 Tom de Vries <tom@codesourcery.com>
|
||||
|
||||
* testsuite/libgomp.oacc-c-c++-common/loop-g-1.c (main): Remove
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
/* { dg-options "-fopenmp" } */
|
||||
|
||||
extern "C" void abort (void);
|
||||
|
||||
#define M(x, y, z) O(x, y, z)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// { dg-do run }
|
||||
// { dg-require-effective-target lto }
|
||||
// { dg-options "-flto -g -fopenmp" }
|
||||
// { dg-options "-flto -g" }
|
||||
|
||||
int e = 5;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// { dg-do run }
|
||||
// { dg-options "-O2 -fopenmp" }
|
||||
// { dg-options "-O2" }
|
||||
|
||||
#include "../libgomp.c/taskloop-1.c"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// { dg-do run }
|
||||
// { dg-options "-O2 -fopenmp" }
|
||||
// { dg-options "-O2" }
|
||||
|
||||
#include "../libgomp.c/taskloop-3.c"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// { dg-do run }
|
||||
// { dg-options "-O2 -fopenmp" }
|
||||
// { dg-options "-O2" }
|
||||
|
||||
#include "../libgomp.c/taskloop-4.c"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/* { dg-options "-std=gnu99 -fopenmp" } */
|
||||
/* { dg-options "-std=gnu99" } */
|
||||
|
||||
extern void abort (void);
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* PR middle-end/66199 */
|
||||
/* { dg-do run } */
|
||||
/* { dg-options "-O2 -fopenmp" } */
|
||||
/* { dg-options "-O2" } */
|
||||
|
||||
int u[1024], v[1024], w[1024];
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* PR middle-end/66199 */
|
||||
/* { dg-do run } */
|
||||
/* { dg-options "-O2 -fopenmp" } */
|
||||
/* { dg-options "-O2" } */
|
||||
|
||||
#pragma omp declare target
|
||||
int u[1024], v[1024], w[1024];
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* PR middle-end/66199 */
|
||||
/* { dg-do run } */
|
||||
/* { dg-options "-O2 -fopenmp" } */
|
||||
/* { dg-options "-O2" } */
|
||||
|
||||
#pragma omp declare target
|
||||
int u[1024], v[1024], w[1024];
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/* { dg-do run } */
|
||||
/* { dg-options "-O2 -fopenmp -std=c99" } */
|
||||
/* { dg-options "-O2 -std=c99" } */
|
||||
|
||||
int q, r, e;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/* { dg-do run } */
|
||||
/* { dg-options "-O2 -fopenmp -std=c99" } */
|
||||
/* { dg-options "-O2 -std=c99" } */
|
||||
|
||||
int g;
|
||||
int a[1024];
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/* { dg-do run } */
|
||||
/* { dg-options "-O2 -fopenmp" } */
|
||||
/* { dg-options "-O2" } */
|
||||
|
||||
int u[64], v;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
! { dg-do run }
|
||||
! { dg-options "-fopenmp -fcray-pointer" }
|
||||
! { dg-options "-fcray-pointer" }
|
||||
|
||||
use iso_c_binding, only : c_ptr, c_ptrdiff_t, c_loc
|
||||
interface
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
! { dg-options "-fopenmp" }
|
||||
program condinc1
|
||||
logical l
|
||||
l = .false.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
! { dg-options "-fopenmp" }
|
||||
program condinc3
|
||||
logical l
|
||||
l = .false.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
! { dg-do run }
|
||||
! { dg-options "-fopenmp -fcray-pointer" }
|
||||
! { dg-options "-fcray-pointer" }
|
||||
|
||||
use omp_lib
|
||||
integer :: a, b, c, p
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
! { dg-do run }
|
||||
! { dg-options "-fopenmp -fcray-pointer" }
|
||||
! { dg-options "-fcray-pointer" }
|
||||
! { dg-require-effective-target tls_runtime }
|
||||
|
||||
use omp_lib
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
! { dg-do run }
|
||||
! { dg-options "-fopenmp -fcray-pointer" }
|
||||
! { dg-options "-fcray-pointer" }
|
||||
|
||||
use omp_lib
|
||||
integer :: a, b, c, i, p
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
C Test conditional compilation in fixed form if -fopenmp
|
||||
! { dg-options "-fopenmp" }
|
||||
10 foo = 2
|
||||
&56
|
||||
if (foo.ne.256) call abort
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
! Test conditional compilation in free form if -fopenmp
|
||||
! { dg-options "-fopenmp" }
|
||||
10 foo = 2&
|
||||
&56
|
||||
if (foo.ne.256) call abort
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
! PR middle-end/66199
|
||||
! { dg-do run }
|
||||
! { dg-options "-O2 -fopenmp" }
|
||||
! { dg-options "-O2" }
|
||||
|
||||
integer :: u(1024), v(1024), w(1024), a, b, c, d, e, a1, b1, a2, b2, d1, d2
|
||||
a = 1
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
! PR middle-end/66199
|
||||
! { dg-do run }
|
||||
! { dg-options "-O2 -fopenmp" }
|
||||
! { dg-options "-O2" }
|
||||
|
||||
integer :: u(1024), v(1024), w(1024), a, b, c, d, e, a1, b1, a2, b2, d1, d2
|
||||
a = 1
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
! { dg-do run }
|
||||
! { dg-options "-fopenmp -fcheck=recursion" }
|
||||
! { dg-options "-fcheck=recursion" }
|
||||
!
|
||||
! PR 42517: Bogus runtime error with -fopenmp -fcheck=recursion
|
||||
!
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
! { dg-do run }
|
||||
! { dg-options "-fopenmp -ffree-line-length-160" }
|
||||
! { dg-options "-ffree-line-length-160" }
|
||||
|
||||
module target2
|
||||
contains
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
! { dg-do compile }
|
||||
! { dg-options "-fopenmp" }
|
||||
|
||||
integer :: r
|
||||
r = 0
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
! { dg-do run }
|
||||
! { dg-options "-fopenmp" }
|
||||
!
|
||||
! PR fortran/47886
|
||||
!
|
||||
|
|
|
|||
Loading…
Reference in New Issue