]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
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 cad36aaf8b71fd4a1b1ee2c563d6c99a4a7b71d8..d852b95f1c23a64d8409440b6aa2cad357155551 100644 (file)
@@ -1,4 +1,4 @@
-! { dg-do run }
+! { dg-do compile }
 
 module mymod
   implicit none (type, external)
index fa826a71097a49c809a9061bf498149ef66b1287..21fc3272974afbfb79666b3a925bcf2e6122b389 100644 (file)
@@ -1,4 +1,4 @@
-! { dg-do run }
+! { dg-do compile }
 
 module mymod
   implicit none (type, external)