aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/c-tree.texi2
-rw-r--r--gcc/doc/cpp.texi4
-rw-r--r--gcc/doc/install.texi2
-rw-r--r--gcc/doc/invoke.texi2
-rw-r--r--gcc/doc/tm.texi2
5 files changed, 6 insertions, 6 deletions
diff --git a/gcc/doc/c-tree.texi b/gcc/doc/c-tree.texi
index 19f80706845..8d657ce3262 100644
--- a/gcc/doc/c-tree.texi
+++ b/gcc/doc/c-tree.texi
@@ -1875,7 +1875,7 @@ These nodes are used to represent pointer-to-member constants. The
or @code{UNION_TYPE} within which the pointer points), and the
@code{PTRMEM_CST_MEMBER} is the declaration for the pointed to object.
Note that the @code{DECL_CONTEXT} for the @code{PTRMEM_CST_MEMBER} is in
-general different from from the @code{PTRMEM_CST_CLASS}. For example,
+general different from the @code{PTRMEM_CST_CLASS}. For example,
given:
@example
struct B @{ int i; @};
diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi
index de978e39de6..39d0e295018 100644
--- a/gcc/doc/cpp.texi
+++ b/gcc/doc/cpp.texi
@@ -2923,7 +2923,7 @@ syntax errors.
One way to avoid this problem is to use an always-false conditional
instead. For instance, put @code{#if 0} before the deleted code and
-@code{#endif} after it. This This works even if the code being turned
+@code{#endif} after it. This works even if the code being turned
off contains conditionals, but they must be entire conditionals
(balanced @samp{#if} and @samp{#endif}).
@@ -3193,7 +3193,7 @@ preprocessor preserves whitespace between tokens, or replaces it with
e.g.@: a single space. In GNU CPP, whitespace between tokens is collapsed
to become a single space, with the exception that the first token on a
non-directive line is preceded with sufficient spaces that it appears in
-the same column in the preprocessed output that it appeared in in the
+the same column in the preprocessed output that it appeared in the
original source file. This is so the output is easy to read.
@xref{Differences from previous versions}. CPP does not insert any
whitespace where there was none in the original source, except where
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index bd935709665..6608f487ba5 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -3342,7 +3342,7 @@ without modification.
@heading @anchor{os2}OS/2
GCC does not currently support OS/2. However, Andrew Zabolotny has been
-working on a generic OS/2 port with pgcc. The current code code can be found
+working on a generic OS/2 port with pgcc. The current code can be found
at @uref{http://www.goof.com/pcg/os2/,,http://www.goof.com/pcg/os2/}.
An older copy of GCC 2.8.1 is included with the EMX tools available at
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 1f3d41e91e2..84b0657c0a8 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -8503,7 +8503,7 @@ and 32532 cpus. This is the default for the pc532-netbsd configuration.
@opindex mmulti-add
Try and generate multiply-add floating point instructions @code{polyF}
and @code{dotF}. This option is only available if the @option{-m32381}
-option is in effect. Using these instructions requires changes to to
+option is in effect. Using these instructions requires changes to
register allocation which generally has a negative impact on
performance. This option should only be enabled when compiling code
particularly likely to make heavy use of multiply-add instructions.
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index 3c777d0486f..c80d755b59b 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -7768,7 +7768,7 @@ or @code{MACHINE_DEPENDENT_REORG}.
You can have multiple entities that are mode-switched, and select at run time
which entities actually need it. @code{OPTIMIZE_MODE_SWITCHING} should
-return nonzero for any @var{entity} that that needs mode-switching.
+return nonzero for any @var{entity} that needs mode-switching.
If you define this macro, you also have to define
@code{NUM_MODES_FOR_MODE_SWITCHING}, @code{MODE_NEEDED},
@code{MODE_PRIORITY_TO_MODE} and @code{EMIT_MODE_SET}.