https://gcc.gnu.org/g:37d543cac19050bc7d1c18d6130f5e17babe4cd7
commit r17-1034-g37d543cac19050bc7d1c18d6130f5e17babe4cd7 Author: Dhruv Chawla <[email protected]> Date: Thu May 14 09:23:57 2026 +0000 libitm: Fix typos in various files Signed-off-by: Dhruv Chawla <[email protected]> libitm/ChangeLog: * configure: Regenerate. * acinclude.m4: Fix typos. * dispatch.h (struct method_group): Likewise. * method-gl.cc: Likewise. * method-ml.cc: Likewise. * method-serial.cc: Likewise. Diff: --- libitm/acinclude.m4 | 2 +- libitm/configure | 4 ++-- libitm/dispatch.h | 2 +- libitm/method-gl.cc | 2 +- libitm/method-ml.cc | 6 +++--- libitm/method-serial.cc | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/libitm/acinclude.m4 b/libitm/acinclude.m4 index 89f99099a067..0100ce2baff8 100644 --- a/libitm/acinclude.m4 +++ b/libitm/acinclude.m4 @@ -345,7 +345,7 @@ if test x$enable_symvers = xsun ; then *) # Unlikely to work. AC_MSG_WARN([=== You have requested Sun symbol versioning, but]) - AC_MSG_WARN([=== you are not targetting Solaris 2.]) + AC_MSG_WARN([=== you are not targeting Solaris 2.]) AC_MSG_WARN([=== Symbol versioning will be disabled.]) enable_symvers=no ;; diff --git a/libitm/configure b/libitm/configure index 532a59e5d646..95f1d7410b9c 100755 --- a/libitm/configure +++ b/libitm/configure @@ -17747,8 +17747,8 @@ if test x$enable_symvers = xsun ; then # Unlikely to work. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5 -$as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targeting Solaris 2." >&5 +$as_echo "$as_me: WARNING: === you are not targeting Solaris 2." >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;} enable_symvers=no diff --git a/libitm/dispatch.h b/libitm/dispatch.h index ac7f31348b85..0689fd331645 100644 --- a/libitm/dispatch.h +++ b/libitm/dispatch.h @@ -247,7 +247,7 @@ struct method_group // Stop using any method from this group for now. This can be used to // destruct meta data as soon as this method group is not used anymore. virtual void fini() = 0; - // This can be overriden to implement more light-weight re-initialization. + // This can be overridden to implement more light-weight re-initialization. virtual void reinit() { fini(); diff --git a/libitm/method-gl.cc b/libitm/method-gl.cc index df934157fd18..39b1acf45865 100644 --- a/libitm/method-gl.cc +++ b/libitm/method-gl.cc @@ -73,7 +73,7 @@ static gl_mg o_gl_mg; // privatization safety. This even holds if a writing transaction has the // lock bit set in its shared_state because this is fine for both the serial // lock (the value will be smaller than ~0) and privatization safety (we -// validate that no other update transaction comitted before we acquired the +// validate that no other update transaction committed before we acquired the // orec, so we have the most recent timestamp and no other transaction can // commit until we have committed). // However, we therefore depend on shared_state not being modified by the diff --git a/libitm/method-ml.cc b/libitm/method-ml.cc index 9424615bd71d..10f11e4e459f 100644 --- a/libitm/method-ml.cc +++ b/libitm/method-ml.cc @@ -280,7 +280,7 @@ protected: // validate sees. However, the potential cache miss on global time is // probably a reasonable price to pay for avoiding unnecessary extensions // in the future. - // We need acquire memory oder because we have to synchronize with the + // We need acquire memory order because we have to synchronize with the // increment of global time by update transactions, whose lock // acquisitions we have to observe (also see trycommit()). gtm_word snapshot = o_ml_mg.time.load(memory_order_acquire); @@ -489,8 +489,8 @@ public: return NO_RESTART; // Read the current time, which becomes our snapshot time. - // Use acquire memory oder so that we see the lock acquisitions by update - // transcations that incremented the global time (see trycommit()). + // Use acquire memory order so that we see the lock acquisitions by update + // transactions that incremented the global time (see trycommit()). gtm_word snapshot = o_ml_mg.time.load(memory_order_acquire); // Re-initialize method group on time overflow. if (snapshot >= o_ml_mg.TIME_MAX) diff --git a/libitm/method-serial.cc b/libitm/method-serial.cc index 5d21b50b8587..f3ae2860bda6 100644 --- a/libitm/method-serial.cc +++ b/libitm/method-serial.cc @@ -241,7 +241,7 @@ static htm_mg o_htm_mg; // We just need the subclass to associate it with the HTM method group that // sets up the HTM fast path. This will use serial_dispatch as fallback for // transactions that might get canceled; it has a different method group, but -// this is harmless for serial dispatchs because they never abort. +// this is harmless for serial dispatches because they never abort. class htm_dispatch : public serialirr_dispatch { public:
