gfortran.dg/gomp/depend-iterator-{1,2}.f90: Use dg-do compile
authorTobias Burnus <tobias@codesourcery.com>
Mon, 31 May 2021 14:38:05 +0000 (16:38 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Mon, 31 May 2021 14:38:05 +0000 (16:38 +0200)
'dg-do run' is pointless -1 due to dg-error. And it won't work except
by chance for gomp tests; as -2 only has depend(out:), a 'dg-do compile'
is sufficient.

gcc/testsuite/ChangeLog:

* gfortran.dg/gomp/depend-iterator-1.f90: Use dg-do compile.
* gfortran.dg/gomp/depend-iterator-2.f90: Use dg-do compile.

gcc/testsuite/gfortran.dg/gomp/depend-iterator-1.f90
gcc/testsuite/gfortran.dg/gomp/depend-iterator-2.f90

index cad36aa..d852b95 100644 (file)
@@ -1,4 +1,4 @@
-! { dg-do run }
+! { dg-do compile }
 
 module mymod
   implicit none (type, external)
index fa826a7..21fc327 100644 (file)
@@ -1,4 +1,4 @@
-! { dg-do run }
+! { dg-do compile }
 
 module mymod
   implicit none (type, external)