From: Tobias Burnus Date: Mon, 31 May 2021 14:50:19 +0000 (+0200) Subject: gfortran.dg/gomp/depend-iterator-{1,2}.f90: Use dg-do compile X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b10e254b4c809c40376f281402e8de76117dab43;p=thirdparty%2Fgcc.git gfortran.dg/gomp/depend-iterator-{1,2}.f90: Use dg-do compile '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. (cherry picked from commit 9faaa091e53db9cb4aee137bb4a6a9c6a18c7af5) --- diff --git a/gcc/testsuite/ChangeLog.omp b/gcc/testsuite/ChangeLog.omp index 3e439e1ec0ea..a90d829c6d00 100644 --- a/gcc/testsuite/ChangeLog.omp +++ b/gcc/testsuite/ChangeLog.omp @@ -1,3 +1,11 @@ +2021-05-31 Tobias Burnus + + Backported from master: + 2021-05-31 Tobias Burnus + + * gfortran.dg/gomp/depend-iterator-1.f90: Use dg-do compile. + * gfortran.dg/gomp/depend-iterator-2.f90: Use dg-do compile. + 2021-05-31 Tobias Burnus Backported from master: diff --git a/gcc/testsuite/gfortran.dg/gomp/depend-iterator-1.f90 b/gcc/testsuite/gfortran.dg/gomp/depend-iterator-1.f90 index cad36aaf8b71..d852b95f1c23 100644 --- a/gcc/testsuite/gfortran.dg/gomp/depend-iterator-1.f90 +++ b/gcc/testsuite/gfortran.dg/gomp/depend-iterator-1.f90 @@ -1,4 +1,4 @@ -! { dg-do run } +! { dg-do compile } module mymod implicit none (type, external) diff --git a/gcc/testsuite/gfortran.dg/gomp/depend-iterator-2.f90 b/gcc/testsuite/gfortran.dg/gomp/depend-iterator-2.f90 index fa826a71097a..21fc3272974a 100644 --- a/gcc/testsuite/gfortran.dg/gomp/depend-iterator-2.f90 +++ b/gcc/testsuite/gfortran.dg/gomp/depend-iterator-2.f90 @@ -1,4 +1,4 @@ -! { dg-do run } +! { dg-do compile } module mymod implicit none (type, external)