public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Marcel Vollweiler <marcel@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc/devel/omp/gcc-12] openacc: Revert erroneous gang reduction change in OpenAcc test
Date: Thu, 27 Oct 2022 13:50:42 +0000 (GMT)	[thread overview]
Message-ID: <20221027135042.BBB553851523@sourceware.org> (raw)

https://gcc.gnu.org/g:4782e0ab95390f6035ecd0f39abd52ec836f3543

commit 4782e0ab95390f6035ecd0f39abd52ec836f3543
Author: Marcel Vollweiler <marcel@codesourcery.com>
Date:   Wed Oct 26 14:45:41 2022 +0000

    openacc: Revert erroneous gang reduction change in OpenAcc test
    
    This patch reverts an erroneous modification of an OpenAcc test case in
    d27d6c9e1e3bc18ba0113757b743b306ea69f825 "Various OpenACC reduction
    enhancements - test cases".
    
    The same reversion was already done on mainline with commit
    77d24d43644909852998043335b5a0e09d1e8f02.
    
    gcc/testsuite/ChangeLog:
    
            * gfortran.dg/goacc/orphan-reductions-1.f90: Adjust.

Diff:
---
 gcc/testsuite/ChangeLog.omp                             | 4 ++++
 gcc/testsuite/gfortran.dg/goacc/orphan-reductions-1.f90 | 8 ++++----
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/gcc/testsuite/ChangeLog.omp b/gcc/testsuite/ChangeLog.omp
index d5548ebff3b..265ccd8b59f 100644
--- a/gcc/testsuite/ChangeLog.omp
+++ b/gcc/testsuite/ChangeLog.omp
@@ -1,3 +1,7 @@
+2022-10-26  Marcel Vollweiler  <marcel@codesourcery.com>
+
+	* gfortran.dg/goacc/orphan-reductions-1.f90: Adjust.
+
 2022-10-25  Abid Qadeer  <abidh@codesourcery.com>
 
 	* g++.dg/gomp/usm-4.C: New test.
diff --git a/gcc/testsuite/gfortran.dg/goacc/orphan-reductions-1.f90 b/gcc/testsuite/gfortran.dg/goacc/orphan-reductions-1.f90
index 609e30eca88..8eed080a128 100644
--- a/gcc/testsuite/gfortran.dg/goacc/orphan-reductions-1.f90
+++ b/gcc/testsuite/gfortran.dg/goacc/orphan-reductions-1.f90
@@ -30,7 +30,7 @@ end subroutine s1
 
 subroutine s2
   implicit none
-  !$acc routine worker
+  !$acc routine gang
 
   integer, parameter :: n = 100
   integer :: i, j, sum
@@ -81,7 +81,7 @@ end function f1
 
 integer function f2 ()
   implicit none
-  !$acc routine worker
+  !$acc routine gang
 
   integer, parameter :: n = 100
   integer :: i, j, sum
@@ -134,7 +134,7 @@ contains
 
   subroutine s4
     implicit none
-    !$acc routine worker
+    !$acc routine gang
 
     integer, parameter :: n = 100
     integer :: i, j, sum
@@ -185,7 +185,7 @@ contains
 
   integer function f4 ()
     implicit none
-    !$acc routine worker
+    !$acc routine gang
 
     integer, parameter :: n = 100
     integer :: i, j, sum

                 reply	other threads:[~2022-10-27 13:50 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=20221027135042.BBB553851523@sourceware.org \
    --to=marcel@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).