fix compatability typos

Message ID CAHiT=DE18yJuM_Vn9jmaW05t8R6m5rNQ5niLUJVW93O09rR30Q@mail.gmail.com
State Unresolved
Headers
Series fix compatability typos |

Checks

Context Check Description
snail/gcc-patch-check warning Git am fail log

Commit Message

Reini Urban April 11, 2023, 10:31 a.m. UTC
  gcc/Changelog:

  * gcc/config/arm/arm.cc(arm_print_asm_arch_directives): fix compatability
typo
  * gcc/fortran/gfortran.texi(intrinsics): fix compatability typo
  * gcc/fortran/invoke.texi(-fdec-math): fix compatability typo
  * gcc/m2/gm2-compiler/M2Base.def(CannotCheckTypeInPass3): fix
    compatability typo in comment
  * gcc/m2/gm2-compiler/M2Base.mod: likewise
  * gcc/po/sr.po: fix compatability typo in config/darwin.cc string
  * gcc/testsuite/gm2/pim/pass/opaquetype.def: fix compatability typo
    in comment
  * gcc/testsuite/gm2/switches/pim4/run/pass/modulus.mod: fix
    compatability typo in comment
  * gcc/testsuite/objc-obj-c++-shared/GNUStep/Foundation/NSGeometry.h:
    fix compatability typo in comment

libgm2/Changelog:

  * libgm2/configure: fix compatability typo
  * libgm2/configure.ac: likewise
---
 gcc/config/arm/arm.cc                                         | 2 +-
 gcc/fortran/gfortran.texi                                     | 2 +-
 gcc/fortran/invoke.texi                                       | 2 +-
 gcc/m2/gm2-compiler/M2Base.def                                | 2 +-
 gcc/m2/gm2-compiler/M2Base.mod                                | 2 +-
 gcc/po/sr.po                                                  | 4 ++--
 gcc/testsuite/gm2/pim/pass/opaquetype.def                     | 2 +-
 gcc/testsuite/gm2/switches/pim4/run/pass/modulus.mod          | 2 +-
 .../objc-obj-c++-shared/GNUStep/Foundation/NSGeometry.h       | 2 +-
 libgm2/configure                                              | 4 ++--
 libgm2/configure.ac                                           | 2 +-
 11 files changed, 13 insertions(+), 13 deletions(-)

 fi

 AM_CONDITIONAL([BUILD_PIMLIB], [test x$BUILD_PIMLIB = xtrue])
  

Patch

From cd1469d48892d9fcb5ee876750862518c01f7911 Mon Sep 17 00:00:00 2001
From: Reini Urban <rurban@cpan.org>
Date: Tue, 11 Apr 2023 12:22:21 +0200
Subject: [PATCH] compatability typos

gcc/Changelog:

  * gcc/config/arm/arm.cc(arm_print_asm_arch_directives): fix compatability typo
  * gcc/fortran/gfortran.texi(intrinsics): fix compatability typo
  * gcc/fortran/invoke.texi(-fdec-math): fix compatability typo
  * gcc/m2/gm2-compiler/M2Base.def(CannotCheckTypeInPass3): fix
    compatability typo in comment
  * gcc/m2/gm2-compiler/M2Base.mod: likewise
  * gcc/po/sr.po: fix compatability typo in config/darwin.cc string
  * gcc/testsuite/gm2/pim/pass/opaquetype.def: fix compatability typo
    in comment
  * gcc/testsuite/gm2/switches/pim4/run/pass/modulus.mod: fix
    compatability typo in comment
  * gcc/testsuite/objc-obj-c++-shared/GNUStep/Foundation/NSGeometry.h:
    fix compatability typo in comment

libgm2/Changelog:

  * libgm2/configure: fix compatability typo
  * libgm2/configure.ac: likewise
---
 gcc/config/arm/arm.cc                                         | 2 +-
 gcc/fortran/gfortran.texi                                     | 2 +-
 gcc/fortran/invoke.texi                                       | 2 +-
 gcc/m2/gm2-compiler/M2Base.def                                | 2 +-
 gcc/m2/gm2-compiler/M2Base.mod                                | 2 +-
 gcc/po/sr.po                                                  | 4 ++--
 gcc/testsuite/gm2/pim/pass/opaquetype.def                     | 2 +-
 gcc/testsuite/gm2/switches/pim4/run/pass/modulus.mod          | 2 +-
 .../objc-obj-c++-shared/GNUStep/Foundation/NSGeometry.h       | 2 +-
 libgm2/configure                                              | 4 ++--
 libgm2/configure.ac                                           | 2 +-
 11 files changed, 13 insertions(+), 13 deletions(-)

diff --git gcc/config/arm/arm.cc gcc/config/arm/arm.cc
index bf7ff9a9704..35e67511788 100644
--- gcc/config/arm/arm.cc
+++ gcc/config/arm/arm.cc
@@ -28534,7 +28534,7 @@  arm_print_asm_arch_directives (FILE *stream, cl_target_option *targ_options)
 
   if (strcmp (build_target.arch_name, "armv7ve") == 0)
     {
-      /* Keep backward compatability for assemblers which don't support
+      /* Keep backward compatibility for assemblers which don't support
 	 armv7ve.  Fortunately, none of the following extensions are reset
 	 by a .fpu directive.  */
       asm_fprintf (stream, "\t.arch armv7-a\n");
diff --git gcc/fortran/gfortran.texi gcc/fortran/gfortran.texi
index b96712987e1..1509e2cf299 100644
--- gcc/fortran/gfortran.texi
+++ gcc/fortran/gfortran.texi
@@ -2323,7 +2323,7 @@  endsubroutine
 @cindex intrinsics, trigonometric functions
 
 GNU Fortran supports an extended list of mathematical intrinsics with the
-compile flag @option{-fdec-math} for compatability with legacy code.
+compile flag @option{-fdec-math} for compatibility with legacy code.
 These intrinsics are described fully in @ref{Intrinsic Procedures} where it is
 noted that they are extensions and should be avoided whenever possible.
 
diff --git gcc/fortran/invoke.texi gcc/fortran/invoke.texi
index 38150b1e29e..6e2aa7de85d 100644
--- gcc/fortran/invoke.texi
+++ gcc/fortran/invoke.texi
@@ -302,7 +302,7 @@  JIAND, etc...). For a complete list of intrinsics see the full documentation.
 @opindex @code{fdec-math}
 @item -fdec-math
 Enable legacy math intrinsics such as COTAN and degree-valued trigonometric
-functions (e.g. TAND, ATAND, etc...) for compatability with older code.
+functions (e.g. TAND, ATAND, etc...) for compatibility with older code.
 
 @opindex @code{fdec-static}
 @item -fdec-static
diff --git gcc/m2/gm2-compiler/M2Base.def gcc/m2/gm2-compiler/M2Base.def
index 14e79e7ae00..5fab1d57451 100644
--- gcc/m2/gm2-compiler/M2Base.def
+++ gcc/m2/gm2-compiler/M2Base.def
@@ -348,7 +348,7 @@  PROCEDURE CannotCheckTypeInPass3 (e: CARDINAL) : BOOLEAN ;
 (*
    MixTypes - returns the type symbol that corresponds to the types t1 and t2.
               NearTok is used to identify the source position if a type
-              incompatability occurs.
+              incompatibility occurs.
 *)
 
 PROCEDURE MixTypes (t1, t2: CARDINAL; NearTok: CARDINAL) : CARDINAL ;
diff --git gcc/m2/gm2-compiler/M2Base.mod gcc/m2/gm2-compiler/M2Base.mod
index cc3aa4cc961..7610eea39d6 100644
--- gcc/m2/gm2-compiler/M2Base.mod
+++ gcc/m2/gm2-compiler/M2Base.mod
@@ -2008,7 +2008,7 @@  END MixMetaTypes ;
    MixTypes - given types, t1 and t2, returns a type symbol that
               provides expression type compatibility.
               NearTok is used to identify the source position if a type
-              incompatability occurs.
+              incompatibility occurs.
 *)
 
 PROCEDURE MixTypes (t1, t2: CARDINAL; NearTok: CARDINAL) : CARDINAL ;
diff --git gcc/po/sr.po gcc/po/sr.po
index a78221c999a..6966c0c0dcc 100644
--- gcc/po/sr.po
+++ gcc/po/sr.po
@@ -40333,13 +40333,13 @@  msgstr ""
 
 #: config/darwin.cc:2116
 #, fuzzy, gcc-internal-format
-#| msgid "%<%s%> 2.95 vtable-compatability attribute applies only when compiling a kext"
+#| msgid "%<%s%> 2.95 vtable-compatibility attribute applies only when compiling a kext"
 msgid "%qE 2.95 vtable-compatibility attribute applies only when compiling a kext"
 msgstr "%<%s%> атрибут сагласности в-табела са 2.95 примењује се само при компилацији у kext"
 
 #: config/darwin.cc:2123
 #, fuzzy, gcc-internal-format
-#| msgid "%<%s%> 2.95 vtable-compatability attribute applies only to C++ classes"
+#| msgid "%<%s%> 2.95 vtable-compatibility attribute applies only to C++ classes"
 msgid "%qE 2.95 vtable-compatibility attribute applies only to C++ classes"
 msgstr "%<%s%> атрибут сагласности в-табела са 2.95 примењује се само на Ц++ класе"
 
diff --git gcc/testsuite/gm2/pim/pass/opaquetype.def gcc/testsuite/gm2/pim/pass/opaquetype.def
index 860dce89280..48c3f798b5b 100644
--- gcc/testsuite/gm2/pim/pass/opaquetype.def
+++ gcc/testsuite/gm2/pim/pass/opaquetype.def
@@ -23,7 +23,7 @@  DEFINITION MODULE opaquetype ;
     System     : GNU Modula-2
     Date       : Thu Oct 23 11:00:12 2003
     Revision   : $Version$ 
-    Description: simple type compatability test for opaques.
+    Description: simple type compatibility test for opaques.
 *)
 
 EXPORT QUALIFIED foo, bar;
diff --git gcc/testsuite/gm2/switches/pim4/run/pass/modulus.mod gcc/testsuite/gm2/switches/pim4/run/pass/modulus.mod
index 8ab5c686ad4..fce7404bc1c 100644
--- gcc/testsuite/gm2/switches/pim4/run/pass/modulus.mod
+++ gcc/testsuite/gm2/switches/pim4/run/pass/modulus.mod
@@ -57,7 +57,7 @@  BEGIN
    i := (-31) DIV 10 ;
    Assert(i=-4, __FILE__, __LINE__, "(-31) DIV 10") ;
 
-   (* and we allow ISO compatability *)
+   (* and we allow ISO compatibility *)
    i := (-31) / 10 ;
    Assert(i=-3, __FILE__, __LINE__, "(-31) / 10") ;
    exit(res)
diff --git gcc/testsuite/objc-obj-c++-shared/GNUStep/Foundation/NSGeometry.h gcc/testsuite/objc-obj-c++-shared/GNUStep/Foundation/NSGeometry.h
index 05888b7d206..759b24aa923 100644
--- gcc/testsuite/objc-obj-c++-shared/GNUStep/Foundation/NSGeometry.h
+++ gcc/testsuite/objc-obj-c++-shared/GNUStep/Foundation/NSGeometry.h
@@ -366,7 +366,7 @@  NSInsetRect(NSRect aRect, CGFloat dX, CGFloat dY) GS_GEOM_ATTR;
 /** Returns the rectangle obtained by moving each of aRect's
  * horizontal sides inward by dy and each of aRect's vertical
  * sides inward by dx.<br />
- * NB. For MacOS-X compatability, this is permitted to return
+ * NB. For MacOS-X compatibility, this is permitted to return
  * a rectanglew with nagative width or height, strange as that seems.
  */
 GS_GEOM_SCOPE NSRect
diff --git libgm2/configure libgm2/configure
index 8eb1bc81c66..8e74baaf876 100755
--- libgm2/configure
+++ libgm2/configure
@@ -19650,8 +19650,8 @@  $as_echo "no" >&6; }
    fi
 
 
-   { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build Logitech compatability libraries:" >&5
-$as_echo_n "checking m2 front end will build Logitech compatability libraries:... " >&6; }
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build Logitech compatibility libraries:" >&5
+$as_echo_n "checking m2 front end will build Logitech compatibility libraries:... " >&6; }
    if test x${BUILD_LOGLIB} = xtrue; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
diff --git libgm2/configure.ac libgm2/configure.ac
index 3a79d2612b6..157700341ca 100644
--- libgm2/configure.ac
+++ libgm2/configure.ac
@@ -377,7 +377,7 @@  else
    GM2_MSG_RESULT([m2 front end will build PIM libraries:],[BUILD_PIMLIB])
    GM2_MSG_RESULT([m2 front end will build ISO libraries:],[BUILD_ISOLIB])
    GM2_MSG_RESULT([m2 front end will build coroutine libraries:],[BUILD_CORLIB])
-   GM2_MSG_RESULT([m2 front end will build Logitech compatability libraries:],[BUILD_LOGLIB])
+   GM2_MSG_RESULT([m2 front end will build Logitech compatibility libraries:],[BUILD_LOGLIB])
 fi
 
 AM_CONDITIONAL([BUILD_PIMLIB], [test x$BUILD_PIMLIB = xtrue])
-- 
2.34.1