+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
-/* { dg-options "-fopenmp" } */
-
extern "C" void abort (void);
#define M(x, y, z) O(x, y, z)
// { dg-do run }
// { dg-require-effective-target lto }
-// { dg-options "-flto -g -fopenmp" }
+// { dg-options "-flto -g" }
int e = 5;
// { dg-do run }
-// { dg-options "-O2 -fopenmp" }
+// { dg-options "-O2" }
#include "../libgomp.c/taskloop-1.c"
// { dg-do run }
-// { dg-options "-O2 -fopenmp" }
+// { dg-options "-O2" }
#include "../libgomp.c/taskloop-3.c"
// { dg-do run }
-// { dg-options "-O2 -fopenmp" }
+// { dg-options "-O2" }
#include "../libgomp.c/taskloop-4.c"
-/* { dg-options "-std=gnu99 -fopenmp" } */
+/* { dg-options "-std=gnu99" } */
extern void abort (void);
/* PR middle-end/66199 */
/* { dg-do run } */
-/* { dg-options "-O2 -fopenmp" } */
+/* { dg-options "-O2" } */
int u[1024], v[1024], w[1024];
/* 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];
/* 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];
/* { dg-do run } */
-/* { dg-options "-O2 -fopenmp -std=c99" } */
+/* { dg-options "-O2 -std=c99" } */
int q, r, e;
/* { dg-do run } */
-/* { dg-options "-O2 -fopenmp -std=c99" } */
+/* { dg-options "-O2 -std=c99" } */
int g;
int a[1024];
/* { dg-do run } */
-/* { dg-options "-O2 -fopenmp" } */
+/* { dg-options "-O2" } */
int u[64], v;
! { 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
-! { dg-options "-fopenmp" }
program condinc1
logical l
l = .false.
- ! { dg-options "-fopenmp" }
program condinc3
logical l
l = .false.
! { dg-do run }
-! { dg-options "-fopenmp -fcray-pointer" }
+! { dg-options "-fcray-pointer" }
use omp_lib
integer :: a, b, c, p
! { dg-do run }
-! { dg-options "-fopenmp -fcray-pointer" }
+! { dg-options "-fcray-pointer" }
! { dg-require-effective-target tls_runtime }
use omp_lib
! { dg-do run }
-! { dg-options "-fopenmp -fcray-pointer" }
+! { dg-options "-fcray-pointer" }
use omp_lib
integer :: a, b, c, i, p
C Test conditional compilation in fixed form if -fopenmp
-! { dg-options "-fopenmp" }
10 foo = 2
&56
if (foo.ne.256) call abort
! Test conditional compilation in free form if -fopenmp
-! { dg-options "-fopenmp" }
10 foo = 2&
&56
if (foo.ne.256) call abort
! 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
! 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
! { dg-do run }
-! { dg-options "-fopenmp -fcheck=recursion" }
+! { dg-options "-fcheck=recursion" }
!
! PR 42517: Bogus runtime error with -fopenmp -fcheck=recursion
!
! { dg-do run }
-! { dg-options "-fopenmp -ffree-line-length-160" }
+! { dg-options "-ffree-line-length-160" }
module target2
contains
! { dg-do compile }
-! { dg-options "-fopenmp" }
integer :: r
r = 0
! { dg-do run }
-! { dg-options "-fopenmp" }
!
! PR fortran/47886
!