aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorTobias Burnus <tobias@codesourcery.com>2022-03-13 10:23:07 +0100
committerTobias Burnus <tobias@codesourcery.com>2022-03-13 10:23:07 +0100
commit1b85638affe6c987a33427c54e0369b819cd7915 (patch)
treea552f47c24bd4849b1346a3ec45365c69fe6cdfc /gcc/doc
parent57eeedda23c952951b5c40859ded3080ec9c7b03 (diff)
downloadgcc-1b85638affe6c987a33427c54e0369b819cd7915.zip
gcc-1b85638affe6c987a33427c54e0369b819cd7915.tar.gz
gcc-1b85638affe6c987a33427c54e0369b819cd7915.tar.bz2
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.
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/invoke.texi6
-rw-r--r--gcc/doc/tm.texi4
-rw-r--r--gcc/doc/tm.texi.in2
3 files changed, 6 insertions, 6 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 036e1f0..2a14e1a 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 49864dd..2f92d37 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 95e5e34..f869ddd 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