[committed] texi + c-target.def: Fix typos

Message ID b1548d52-2eff-8a41-1f6d-afa7fd936284@codesourcery.com
State Committed
Headers
Series [committed] texi + c-target.def: Fix typos |

Commit Message

Tobias Burnus March 13, 2022, 9:31 a.m. UTC
  Fixed couple of documentation typos; namely, misspelled words and duplicated words.
Committed as r12-7635.

Tobias
-----------------
Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955
  

Patch

commit 1b85638affe6c987a33427c54e0369b819cd7915
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Sun Mar 13 10:23:07 2022 +0100

    texi + c-target.def: Fix typos
    
    gcc/c-family/ChangeLog:
    
            * c-target.def (check_string_object_format_arg): Fix description typo.
    
    gcc/ChangeLog:
    
            * doc/invoke.texi: Fix typos.
            * doc/tm.texi.in: Remove duplicated word.
            * doc/tm.texi: Regenerate.
    
    libgomp/ChangeLog:
    
            * libgomp.texi: Fix typo.
---
 gcc/c-family/c-target.def | 2 +-
 gcc/doc/invoke.texi       | 6 +++---
 gcc/doc/tm.texi           | 4 ++--
 gcc/doc/tm.texi.in        | 2 +-
 libgomp/libgomp.texi      | 2 +-
 5 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/gcc/c-family/c-target.def b/gcc/c-family/c-target.def
index bd47db0507c..141dcf30716 100644
--- a/gcc/c-family/c-target.def
+++ b/gcc/c-family/c-target.def
@@ -81,7 +81,7 @@  DEFHOOK
 
 DEFHOOK
 (check_string_object_format_arg,
- "If a target implements string objects then this hook should should\n\
+ "If a target implements string objects then this hook should\n\
 provide a facility to check the function arguments in @var{args_list}\n\
 against the format specifiers in @var{format_arg} where the type of\n\
 @var{format_arg} is one recognized as a valid string reference type.",
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 036e1f0c32b..2a14e1a9472 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -8238,7 +8238,7 @@  Warn when attempting to deallocate an object that was either not allocated
 on the heap, or by using a pointer that was not returned from a prior call
 to the corresponding allocation function.  For example, because the call
 to @code{stpcpy} returns a pointer to the terminating nul character and
-not to the begginning of the object, the call to @code{free} below is
+not to the beginning of the object, the call to @code{free} below is
 diagnosed.
 
 @smallexample
@@ -9527,7 +9527,7 @@  accessing more than the maximum number of elements may be diagnosed.
 For example, the warning triggers for the following redeclarations because
 the first one allows an array of any size to be passed to @code{f} while
 the second one specifies that the array argument must have at least @code{n}
-elements.  In addition, calling @code{f} with the assotiated VLA bound
+elements.  In addition, calling @code{f} with the associated VLA bound
 parameter in excess of the actual VLA bound triggers a warning as well.
 
 @smallexample
@@ -19639,7 +19639,7 @@  Generate instructions supported by barrel shifter.  This is the default
 unless @option{-mcpu=ARC601} or @samp{-mcpu=ARCEM} is in effect.
 
 @item -mjli-always
-@opindex mjli-alawys
+@opindex mjli-always
 Force to call a function using jli_s instruction.  This option is
 valid only for ARCv2 architecture.
 
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index 49864dd79f8..2f92d37da8c 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -736,7 +736,7 @@  If a target implements string objects then this hook should return
 @end deftypefn
 
 @deftypefn {C Target Hook} void TARGET_CHECK_STRING_OBJECT_FORMAT_ARG (tree @var{format_arg}, tree @var{args_list})
-If a target implements string objects then this hook should should
+If a target implements string objects then this hook should
 provide a facility to check the function arguments in @var{args_list}
 against the format specifiers in @var{format_arg} where the type of
 @var{format_arg} is one recognized as a valid string reference type.
@@ -2799,7 +2799,7 @@  intermediate registers or scratch registers.
 
 If copying a register @var{class} in @var{mode} to @var{x} requires an
 intermediate or scratch register, @code{SECONDARY_OUTPUT_RELOAD_CLASS}
-was supposed to be defined be defined to return the largest register
+was supposed to be defined to return the largest register
 class required.  If the
 requirements for input and output reloads were the same, the macro
 @code{SECONDARY_RELOAD_CLASS} should have been used instead of defining both
diff --git a/gcc/doc/tm.texi.in b/gcc/doc/tm.texi.in
index 95e5e341f07..f869ddd5e5b 100644
--- a/gcc/doc/tm.texi.in
+++ b/gcc/doc/tm.texi.in
@@ -2279,7 +2279,7 @@  intermediate registers or scratch registers.
 
 If copying a register @var{class} in @var{mode} to @var{x} requires an
 intermediate or scratch register, @code{SECONDARY_OUTPUT_RELOAD_CLASS}
-was supposed to be defined be defined to return the largest register
+was supposed to be defined to return the largest register
 class required.  If the
 requirements for input and output reloads were the same, the macro
 @code{SECONDARY_RELOAD_CLASS} should have been used instead of defining both
diff --git a/libgomp/libgomp.texi b/libgomp/libgomp.texi
index 161a423ac7c..fcabd6e3e10 100644
--- a/libgomp/libgomp.texi
+++ b/libgomp/libgomp.texi
@@ -245,7 +245,7 @@  The OpenMP 4.5 specification is fully supported.
       device memory mapped by an array section @tab P @tab
 @item Mapping of Fortran pointer and allocatable variables, including pointer
       and allocatable components of variables
-      @tab P @tab Mapping of vars with allocatable components unspported
+      @tab P @tab Mapping of vars with allocatable components unsupported
 @item @code{defaultmap} extensions @tab Y @tab
 @item @code{declare mapper} directive @tab N @tab
 @item @code{omp_get_supported_active_levels} routine @tab Y @tab