public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/omp/gcc-11] gfortran.dg/gomp/pr99928-5.f90: Use proper iteration var
@ 2021-06-04 11:44 Tobias Burnus
  0 siblings, 0 replies; only message in thread
From: Tobias Burnus @ 2021-06-04 11:44 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:92ffc1f3076c1cd8fbc5ce64bebca558d807ec3e

commit 92ffc1f3076c1cd8fbc5ce64bebca558d807ec3e
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Fri Jun 4 13:43:21 2021 +0200

    gfortran.dg/gomp/pr99928-5.f90: Use proper iteration var
    
    gcc/testsuite/ChangeLog:
    
            * gfortran.dg/gomp/pr99928-5.f90: Really use the
            proper iteration variable.
    
    (cherry picked from commit ad3f0ad4bafe377072a53ded468fd9948e659f46)

Diff:
---
 gcc/testsuite/ChangeLog.omp                  | 8 ++++++++
 gcc/testsuite/gfortran.dg/gomp/pr99928-5.f90 | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/gcc/testsuite/ChangeLog.omp b/gcc/testsuite/ChangeLog.omp
index 20893144231..3f4c87ccb2f 100644
--- a/gcc/testsuite/ChangeLog.omp
+++ b/gcc/testsuite/ChangeLog.omp
@@ -1,3 +1,11 @@
+2021-06-04  Tobias Burnus  <tobias@codesourcery.com>
+
+	Backported from master:
+	2021-06-04  Tobias Burnus  <tobias@codesourcery.com>
+
+	* gfortran.dg/gomp/pr99928-5.f90: Really use the
+	proper iteration variable.
+
 2021-06-04  Tobias Burnus  <tobias@codesourcery.com>
 
 	Backported from master:
diff --git a/gcc/testsuite/gfortran.dg/gomp/pr99928-5.f90 b/gcc/testsuite/gfortran.dg/gomp/pr99928-5.f90
index c612aaf9556..49cbf1e8cc2 100644
--- a/gcc/testsuite/gfortran.dg/gomp/pr99928-5.f90
+++ b/gcc/testsuite/gfortran.dg/gomp/pr99928-5.f90
@@ -88,7 +88,7 @@ subroutine bar ()
   ! { dg-final { scan-tree-dump "omp taskloop\[^\n\r]*lastprivate\\(j10\\)" "gimple" } }
   ! { dg-final { scan-tree-dump "omp simd\[^\n\r]*linear\\(j10:1\\)" "gimple" } }
   !$omp taskloop simd linear (j10) default(none)
-  do j01 = 1, 64
+  do j10 = 1, 64
   end do
   ! { dg-final { scan-tree-dump "omp teams\[^\n\r]*shared\\(j11\\)" "gimple" } }
   ! { dg-final { scan-tree-dump "omp distribute\[^\n\r]*lastprivate\\(j11\\)" "gimple" } }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-04 11:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-04 11:44 [gcc/devel/omp/gcc-11] gfortran.dg/gomp/pr99928-5.f90: Use proper iteration var Tobias Burnus

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).