public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/omp/gcc-12] libgomp: Fix comment typo
@ 2023-02-16 11:36 Tobias Burnus
  0 siblings, 0 replies; only message in thread
From: Tobias Burnus @ 2023-02-16 11:36 UTC (permalink / raw)
  To: gcc-cvs

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

commit ed3e203c6eeb04a1aca93cb9e6020a5b89247870
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Thu Feb 16 12:32:00 2023 +0100

    libgomp: Fix comment typo
    
    I saw
    FAIL: libgomp.fortran/target-nowait-array-section.f90   -O  execution test
    in my last x86_64-linux bootstrap.  From quick skimming, it might be just
    unreliable test, which assumes that asynchronous execution wouldn't produce
    ordered sequence, but can't it happen even with asynchronous execution?
    
    That said, while skimming the test, I've noticed a comment typo and
    this patch fixes that up.
    
    2023-02-16  Jakub Jelinek  <jakub@redhat.com>
    
            * testsuite/libgomp.fortran/target-nowait-array-section.f90: Fix
            comment typo and improve its wording.
    
    (cherry picked from commit 9d71955f383058f17362c1960bdf8ba2b8c74857)

Diff:
---
 libgomp/ChangeLog.omp                                             | 8 ++++++++
 libgomp/testsuite/libgomp.fortran/target-nowait-array-section.f90 | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/libgomp/ChangeLog.omp b/libgomp/ChangeLog.omp
index 5257ee00e0c..5be77242a41 100644
--- a/libgomp/ChangeLog.omp
+++ b/libgomp/ChangeLog.omp
@@ -1,3 +1,11 @@
+2023-02-16  Tobias Burnus  <tobias@codesourcery.com>
+
+	Backported from master:
+	2023-02-16  Jakub Jelinek  <jakub@redhat.com>
+
+	* testsuite/libgomp.fortran/target-nowait-array-section.f90: Fix
+	comment typo and improve its wording.
+
 2023-02-15  Thomas Schwinge  <thomas@codesourcery.com>
 
 	* testsuite/libgomp.c-c++-common/target-present-1.c: Fix.
diff --git a/libgomp/testsuite/libgomp.fortran/target-nowait-array-section.f90 b/libgomp/testsuite/libgomp.fortran/target-nowait-array-section.f90
index 3613b731676..783ad4f6ac1 100644
--- a/libgomp/testsuite/libgomp.fortran/target-nowait-array-section.f90
+++ b/libgomp/testsuite/libgomp.fortran/target-nowait-array-section.f90
@@ -1,4 +1,4 @@
-! Runs the the target region asynchrolously and checks for it
+! Run the target region asynchronously and check it
 !
 ! Note that  map(alloc: work(:, i)) + nowait  should be safe
 ! given that a nondescriptor array is used. However, it still

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

only message in thread, other threads:[~2023-02-16 11:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-16 11:36 [gcc/devel/omp/gcc-12] libgomp: Fix comment typo 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).