aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2007-03-17 17:44:02 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2007-03-17 17:44:02 +0000
commit44c7bd63b6cb84d93f1408574bc2fb74179ba445 (patch)
tree53acd4868efeee02477736aa3dc09717ec6a8df9 /gcc/doc
parenta757b5c594279e7e3a4a51bf5748dbd0785a3fbc (diff)
downloadgcc-44c7bd63b6cb84d93f1408574bc2fb74179ba445.zip
gcc-44c7bd63b6cb84d93f1408574bc2fb74179ba445.tar.gz
gcc-44c7bd63b6cb84d93f1408574bc2fb74179ba445.tar.bz2
arm.c, [...]: Fix comment typos.
* config/arm/arm.c, config/arm/thumb2.md, config/m68k/m68k.c, config/spu/spu.c, omega.h, passes.c, predict.c: Fix comment typos. * doc/cpp.texi, doc/extend.texi, doc/invoke.texi: Fix typos. Follow spelling conventions. From-SVN: r123025
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/cpp.texi2
-rw-r--r--gcc/doc/extend.texi2
-rw-r--r--gcc/doc/invoke.texi2
3 files changed, 3 insertions, 3 deletions
diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi
index f0e2bb9..2a57fee 100644
--- a/gcc/doc/cpp.texi
+++ b/gcc/doc/cpp.texi
@@ -2030,7 +2030,7 @@ neither @code{extern} nor @code{static} will never be compiled as a
standalone function.
If this macro is defined, GCC supports the @code{gnu_inline} function
-attribute as a way to always get the gnu89 behaviour. Support for
+attribute as a way to always get the gnu89 behavior. Support for
this and @code{__GNUC_GNU_INLINE__} was added in GCC 4.1.3. If
neither macro is defined, an older version of GCC is being used:
@code{inline} functions will be compiled in gnu89 mode, and the
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 8257fdc..d01e5fa 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -2262,7 +2262,7 @@ unlikely executed. The function is optimized for size rather than speed and on
many targets it is placed into special subsection of the text section so all
cold functions appears close together improving code locality of non-cold parts
of program. The paths leading to call of cold functions within code are marked
-as unlikely by the branch prediction mechanizm. It is thus useful to mark
+as unlikely by the branch prediction mechanism. It is thus useful to mark
functions used to handle unlikely conditions, such as @code{perror}, as cold to
improve optimization of hot functions that do call marked functions in rare
occasions.
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index b3fe752..b11681b 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -1376,7 +1376,7 @@ C99 semantics for @code{inline} when in C99 or gnu99 mode (i.e., it
specifies the default behavior). This option was first supported in
GCC 4.3. This option is not supported in C89 or gnu89 mode.
-The preprocesor macros @code{__GNUC_GNU_INLINE__} and
+The preprocessor macros @code{__GNUC_GNU_INLINE__} and
@code{__GNUC_STDC_INLINE__} may be used to check which semantics are
in effect for @code{inline} functions. @xref{Common Predefined
Macros,,,cpp,The C Preprocessor}.