https://gcc.gnu.org/g:4376040f083d1e38887b5609500e658d6559abd6

commit r17-1134-g4376040f083d1e38887b5609500e658d6559abd6
Author: Dhruv Chawla <[email protected]>
Date:   Thu May 21 12:28:26 2026 +0000

    libgomp: Fix typos in various files
    
    Signed-off-by: Dhruv Chawla <[email protected]>
    
    libgomp/ChangeLog:
    
            * config/gcn/simple-bar.h: Fix typos.
            * config/linux/futex.h: Likewise.
            * config/nvptx/bar.c (gomp_team_barrier_cancel): Likewise.
            * config/nvptx/bar.h (gomp_team_barrier_wake): Likewise.
            * config/nvptx/simple-bar.h: Likewise.
            * config/posix/sem.c: Likewise.
            * config/posix/sem.h: Likewise.
            * config/posix/simple-bar.h: Likewise.

Diff:
---
 libgomp/config/gcn/simple-bar.h   | 2 +-
 libgomp/config/linux/futex.h      | 2 +-
 libgomp/config/nvptx/bar.c        | 2 +-
 libgomp/config/nvptx/bar.h        | 2 +-
 libgomp/config/nvptx/simple-bar.h | 2 +-
 libgomp/config/posix/sem.c        | 2 +-
 libgomp/config/posix/sem.h        | 2 +-
 libgomp/config/posix/simple-bar.h | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/libgomp/config/gcn/simple-bar.h b/libgomp/config/gcn/simple-bar.h
index d662f5de39bc..8d174c92772a 100644
--- a/libgomp/config/gcn/simple-bar.h
+++ b/libgomp/config/gcn/simple-bar.h
@@ -24,7 +24,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 /* This is a simplified barrier that is suitable for thread pool
-   synchronizaton.  Only a subset of full barrier API (bar.h) is exposed.
+   synchronization.  Only a subset of full barrier API (bar.h) is exposed.
    Here in the AMD GCN-specific implementation, we expect that thread pool
    corresponds to the wavefronts within a work group.  */
 
diff --git a/libgomp/config/linux/futex.h b/libgomp/config/linux/futex.h
index 298501b056c4..e6d7a0bf2c51 100644
--- a/libgomp/config/linux/futex.h
+++ b/libgomp/config/linux/futex.h
@@ -25,7 +25,7 @@
 
 /* Provide target-specific access to the futex system call.  */
 
-/* The include file hierachy above us (wait.h) has pushed visibility
+/* The include file hierarchy above us (wait.h) has pushed visibility
    hidden, this will be applied to prototypes with headers we include
    with the effect that we cannot link against an external function
    (syscall). The solution here is to push default visibility, include
diff --git a/libgomp/config/nvptx/bar.c b/libgomp/config/nvptx/bar.c
index aabc44a19e79..024f278e03c7 100644
--- a/libgomp/config/nvptx/bar.c
+++ b/libgomp/config/nvptx/bar.c
@@ -179,7 +179,7 @@ gomp_team_barrier_cancel (struct gomp_team *team)
   team->barrier.generation |= BAR_CANCELLED;
   gomp_mutex_unlock (&team->task_lock);
 
-  /* The 'exit' instruction cancels this thread and also fullfills any other
+  /* The 'exit' instruction cancels this thread and also fulfills any other
      CTA threads waiting on barriers.  */
   asm volatile ("exit;");
 }
diff --git a/libgomp/config/nvptx/bar.h b/libgomp/config/nvptx/bar.h
index aa2592ba5b3f..8bad3dc80b31 100644
--- a/libgomp/config/nvptx/bar.h
+++ b/libgomp/config/nvptx/bar.h
@@ -86,7 +86,7 @@ static inline void
 gomp_team_barrier_wake (gomp_barrier_t *bar, int count)
 {
   /* We never "wake up" threads on nvptx.  Threads wait at barrier
-     instructions till barrier fullfilled.  Do nothing here.  */
+     instructions till barrier fulfilled.  Do nothing here.  */
 }
 
 static inline gomp_barrier_state_t
diff --git a/libgomp/config/nvptx/simple-bar.h 
b/libgomp/config/nvptx/simple-bar.h
index 1ffe8d292441..d2bbb039a384 100644
--- a/libgomp/config/nvptx/simple-bar.h
+++ b/libgomp/config/nvptx/simple-bar.h
@@ -24,7 +24,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 /* This is a simplified barrier that is suitable for thread pool
-   synchronizaton.  Only a subset of full barrier API (bar.h) is exposed.
+   synchronization.  Only a subset of full barrier API (bar.h) is exposed.
    Here in the NVPTX-specific implementation, we expect that thread pool
    corresponds to a PTX CTA (thread block).  */
 
diff --git a/libgomp/config/posix/sem.c b/libgomp/config/posix/sem.c
index cb8570f9a35f..96b2350d0ba6 100644
--- a/libgomp/config/posix/sem.c
+++ b/libgomp/config/posix/sem.c
@@ -28,7 +28,7 @@
    the library.
 
    This is a bit heavy weight for what we need, in that we're not
-   interested in sem_wait as a cancelation point, but it's not too
+   interested in sem_wait as a cancellation point, but it's not too
    bad for a default.  */
 
 #include "libgomp.h"
diff --git a/libgomp/config/posix/sem.h b/libgomp/config/posix/sem.h
index 54b8476d624a..1a3bdb3284d4 100644
--- a/libgomp/config/posix/sem.h
+++ b/libgomp/config/posix/sem.h
@@ -28,7 +28,7 @@
    the library.
 
    This is a bit heavy weight for what we need, in that we're not
-   interested in sem_wait as a cancelation point, but it's not too
+   interested in sem_wait as a cancellation point, but it's not too
    bad for a default.  */
 
 #ifndef GOMP_SEM_H
diff --git a/libgomp/config/posix/simple-bar.h 
b/libgomp/config/posix/simple-bar.h
index 9452a2d5fdc8..b888a27df010 100644
--- a/libgomp/config/posix/simple-bar.h
+++ b/libgomp/config/posix/simple-bar.h
@@ -24,7 +24,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 /* This is a simplified barrier that is suitable for thread pool
-   synchronizaton.  Only a subset of full barrier API (bar.h) is exposed.  */
+   synchronization.  Only a subset of full barrier API (bar.h) is exposed.  */
 
 #ifndef GOMP_SIMPLE_BARRIER_H
 #define GOMP_SIMPLE_BARRIER_H 1

Reply via email to