public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Tobias Burnus <burnus@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc/devel/omp/gcc-11] gfortran.dg/gomp/depend-iterator-{1, 2}.f90: Use dg-do compile
Date: Mon, 31 May 2021 15:33:21 +0000 (GMT)	[thread overview]
Message-ID: <20210531153321.5307B384F010@sourceware.org> (raw)

https://gcc.gnu.org/g:b10e254b4c809c40376f281402e8de76117dab43

commit b10e254b4c809c40376f281402e8de76117dab43
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Mon May 31 16:50:19 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.
    
    (cherry picked from commit 9faaa091e53db9cb4aee137bb4a6a9c6a18c7af5)

Diff:
---
 gcc/testsuite/ChangeLog.omp                          | 8 ++++++++
 gcc/testsuite/gfortran.dg/gomp/depend-iterator-1.f90 | 2 +-
 gcc/testsuite/gfortran.dg/gomp/depend-iterator-2.f90 | 2 +-
 3 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/ChangeLog.omp b/gcc/testsuite/ChangeLog.omp
index 3e439e1ec0e..a90d829c6d0 100644
--- a/gcc/testsuite/ChangeLog.omp
+++ b/gcc/testsuite/ChangeLog.omp
@@ -1,3 +1,11 @@
+2021-05-31  Tobias Burnus  <tobias@codesourcery.com>
+
+	Backported from master:
+	2021-05-31  Tobias Burnus  <tobias@codesourcery.com>
+
+	* 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  <tobias@codesourcery.com>
 
 	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 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	other threads:[~2021-05-31 15:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210531153321.5307B384F010@sourceware.org \
    --to=burnus@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).