On 29.05.21 10:03, Jakub Jelinek wrote:
On Fri, May 28, 2021 at 12:59:20AM +0200, Tobias Burnus wrote:
     * gfortran.dg/gomp/depend-iterator-1.f90: New test.
     * gfortran.dg/gomp/depend-iterator-2.f90: New test.
Something I've missed during the review but it shows up during testing:

Now fixed.

Tobias

-----------------
Mentor Graphics (Deutschland) GmbH, Arnulfstrasse 201, 80634 München 
Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Frank 
Thürauf
commit 9faaa091e53db9cb4aee137bb4a6a9c6a18c7af5
Author: Tobias Burnus <tob...@codesourcery.com>
Date:   Mon May 31 16:38:05 2021 +0200

    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.
---
 gcc/testsuite/gfortran.dg/gomp/depend-iterator-1.f90 | 2 +-
 gcc/testsuite/gfortran.dg/gomp/depend-iterator-2.f90 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gfortran.dg/gomp/depend-iterator-1.f90 b/gcc/testsuite/gfortran.dg/gomp/depend-iterator-1.f90
index cad36aaf8b7..d852b95f1c2 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 fa826a71097..21fc3272974 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)

Reply via email to