summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2005-08-06 13:26:35 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-08-06 13:26:35 +0000
commita4d0554781f4aa5af93b620984c91df51dbe87ba (patch)
tree9c1e3b572dafd3d3ac5162fc738c5579d768ad9d
parent49de9e7395964c94b4c1cd88c1b861e1777fc90f (diff)
downloadgcc-a4d0554781f4aa5af93b620984c91df51dbe87ba.tar.gz
Makefile.in, [...]: Fix comment/doc typos.
* Makefile.in, cfgexpand.c, cfgloop.h, cfgloopmanip.c, config.gcc, ipa-cp.c, ipa-prop.c, ipa-prop.h, reg-stack.c, tree-ssa-structalias.c, tree-vrp.c, value-prof.c, vec.h, config/linux.h, config/alpha/alpha.h, config/alpha/linux.h, config/alpha/predicates.md, config/arc/arc.h, config/arm/arm.h, config/arm/ieee754-df.S, config/arm/ieee754-sf.S, config/bfin/bfin.c, config/bfin/bfin.h, config/c4x/c4x.h, config/crx/crx.c, config/fr30/fr30.h, config/frv/frv.h, config/h8300/h8300.h, config/i386/i386.h, config/ia64/ia64.c, config/ia64/ia64.h, config/m68hc11/m68hc11.h, config/mips/mips.c, config/mips/mips.h, config/mips/openbsd.h, config/mn10300/mn10300.h, config/pa/pa.c, config/pa/pa.h, config/pdp11/pdp11.h, config/rs6000/linux-unwind.h, config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/s390/s390.c, config/sh/sh.c, config/sh/sh.h, config/sparc/linux.h, config/sparc/linux64.h, config/sparc/sparc.h, config/v850/v850.h, config/vax/vax.h, doc/extend.texi, doc/gcov.texi, doc/install.texi, doc/invoke.texi, doc/rtl.texi, doc/tm.texi: Fix comment/doc typos. Follow spelling conventions. From-SVN: r102809
-rw-r--r--gcc/ChangeLog24
-rw-r--r--gcc/Makefile.in2
-rw-r--r--gcc/cfgexpand.c4
-rw-r--r--gcc/cfgloop.h2
-rw-r--r--gcc/cfgloopmanip.c4
-rw-r--r--gcc/config.gcc2
-rw-r--r--gcc/config/alpha/alpha.h2
-rw-r--r--gcc/config/alpha/linux.h2
-rw-r--r--gcc/config/alpha/predicates.md2
-rw-r--r--gcc/config/arc/arc.h2
-rw-r--r--gcc/config/arm/arm.h2
-rw-r--r--gcc/config/arm/ieee754-df.S2
-rw-r--r--gcc/config/arm/ieee754-sf.S2
-rw-r--r--gcc/config/bfin/bfin.c2
-rw-r--r--gcc/config/bfin/bfin.h2
-rw-r--r--gcc/config/c4x/c4x.h2
-rw-r--r--gcc/config/crx/crx.c8
-rw-r--r--gcc/config/fr30/fr30.h2
-rw-r--r--gcc/config/frv/frv.h2
-rw-r--r--gcc/config/h8300/h8300.h2
-rw-r--r--gcc/config/i386/i386.h2
-rw-r--r--gcc/config/ia64/ia64.c2
-rw-r--r--gcc/config/ia64/ia64.h2
-rw-r--r--gcc/config/linux.h2
-rw-r--r--gcc/config/m68hc11/m68hc11.h2
-rw-r--r--gcc/config/mips/mips.c2
-rw-r--r--gcc/config/mips/mips.h2
-rw-r--r--gcc/config/mips/openbsd.h2
-rw-r--r--gcc/config/mn10300/mn10300.h2
-rw-r--r--gcc/config/pa/pa.c2
-rw-r--r--gcc/config/pa/pa.h2
-rw-r--r--gcc/config/pdp11/pdp11.h2
-rw-r--r--gcc/config/rs6000/linux-unwind.h2
-rw-r--r--gcc/config/rs6000/rs6000.c2
-rw-r--r--gcc/config/rs6000/rs6000.h2
-rw-r--r--gcc/config/s390/s390.c2
-rw-r--r--gcc/config/sh/sh.c2
-rw-r--r--gcc/config/sh/sh.h2
-rw-r--r--gcc/config/sparc/linux.h2
-rw-r--r--gcc/config/sparc/linux64.h2
-rw-r--r--gcc/config/sparc/sparc.h2
-rw-r--r--gcc/config/v850/v850.h2
-rw-r--r--gcc/config/vax/vax.h2
-rw-r--r--gcc/doc/extend.texi4
-rw-r--r--gcc/doc/gcov.texi2
-rw-r--r--gcc/doc/install.texi6
-rw-r--r--gcc/doc/invoke.texi2
-rw-r--r--gcc/doc/rtl.texi2
-rw-r--r--gcc/doc/tm.texi4
-rw-r--r--gcc/ipa-cp.c6
-rw-r--r--gcc/ipa-prop.c2
-rw-r--r--gcc/ipa-prop.h2
-rw-r--r--gcc/reg-stack.c2
-rw-r--r--gcc/tree-ssa-structalias.c2
-rw-r--r--gcc/tree-vrp.c2
-rw-r--r--gcc/value-prof.c2
-rw-r--r--gcc/vec.h2
57 files changed, 91 insertions, 67 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0d0848ddd4d..2497692dae0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,27 @@
+2005-08-06 Kazu Hirata <kazu@codesourcery.com>
+
+ * Makefile.in, cfgexpand.c, cfgloop.h, cfgloopmanip.c,
+ config.gcc, ipa-cp.c, ipa-prop.c, ipa-prop.h, reg-stack.c,
+ tree-ssa-structalias.c, tree-vrp.c, value-prof.c, vec.h,
+ config/linux.h, config/alpha/alpha.h, config/alpha/linux.h,
+ config/alpha/predicates.md, config/arc/arc.h,
+ config/arm/arm.h, config/arm/ieee754-df.S,
+ config/arm/ieee754-sf.S, config/bfin/bfin.c,
+ config/bfin/bfin.h, config/c4x/c4x.h, config/crx/crx.c,
+ config/fr30/fr30.h, config/frv/frv.h, config/h8300/h8300.h,
+ config/i386/i386.h, config/ia64/ia64.c, config/ia64/ia64.h,
+ config/m68hc11/m68hc11.h, config/mips/mips.c,
+ config/mips/mips.h, config/mips/openbsd.h,
+ config/mn10300/mn10300.h, config/pa/pa.c, config/pa/pa.h,
+ config/pdp11/pdp11.h, config/rs6000/linux-unwind.h,
+ config/rs6000/rs6000.c, config/rs6000/rs6000.h,
+ config/s390/s390.c, config/sh/sh.c, config/sh/sh.h,
+ config/sparc/linux.h, config/sparc/linux64.h,
+ config/sparc/sparc.h, config/v850/v850.h, config/vax/vax.h,
+ doc/extend.texi, doc/gcov.texi, doc/install.texi,
+ doc/invoke.texi, doc/rtl.texi, doc/tm.texi: Fix comment/doc
+ typos. Follow spelling conventions.
+
2005-08-06 Joseph S. Myers <joseph@codesourcery.com>
PR c/23113
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index e45a03c8dca..9234698a476 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -3141,7 +3141,7 @@ s-macro_list : $(GCC_PASSES)
# working directory in object files (-g absent, or -fno-working-dir
# present), and build and host are the same, fixincl for the host will
# build after fixincl for the build machine, getting a cache hit,
-# thereby updating the timestamp of fixincl.o in the the host tree.
+# thereby updating the timestamp of fixincl.o in the host tree.
# Because of CCACHE_HARDLINK, this will also update the timestamp in
# the build tree, and so fixincl in the build tree will appear to be
# out of date. Yuck.
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c
index 220b6adc261..d2c865556af 100644
--- a/gcc/cfgexpand.c
+++ b/gcc/cfgexpand.c
@@ -808,8 +808,8 @@ stack_protect_classify_type (tree type)
return ret;
}
-/* Return non-zero if DECL should be segregated into the "vulnerable" upper
- part of the local stack frame. Remember if we ever return non-zero for
+/* Return nonzero if DECL should be segregated into the "vulnerable" upper
+ part of the local stack frame. Remember if we ever return nonzero for
any variable in this function. The return value is the phase number in
which the variable should be allocated. */
diff --git a/gcc/cfgloop.h b/gcc/cfgloop.h
index 0bfb8d87a9e..cc3992e6a4b 100644
--- a/gcc/cfgloop.h
+++ b/gcc/cfgloop.h
@@ -299,7 +299,7 @@ extern bool can_duplicate_loop_p (struct loop *loop);
#define DLTHE_RECORD_COPY_NUMBER 2 /* Record copy number in the aux
field of newly create BB. */
#define DLTHE_FLAG_COMPLETTE_PEEL 4 /* Update frequencies expecting
- a complette peeling. */
+ a complete peeling. */
extern struct loop * duplicate_loop (struct loops *, struct loop *,
struct loop *);
diff --git a/gcc/cfgloopmanip.c b/gcc/cfgloopmanip.c
index 1e364279403..02c3add4717 100644
--- a/gcc/cfgloopmanip.c
+++ b/gcc/cfgloopmanip.c
@@ -913,7 +913,7 @@ duplicate_loop_to_header_edge (struct loop *loop, edge e, struct loops *loops,
? prob_pass_wont_exit
: prob_pass_thru;
- /* Complette peeling is special as the probability of exit in last
+ /* Complete peeling is special as the probability of exit in last
copy becomes 1. */
if (flags & DLTHE_FLAG_COMPLETTE_PEEL)
{
@@ -923,7 +923,7 @@ duplicate_loop_to_header_edge (struct loop *loop, edge e, struct loops *loops,
wanted_freq = freq_in;
gcc_assert (!is_latch);
- /* First copy has frequency of incomming edge. Each subseqeuent
+ /* First copy has frequency of incoming edge. Each subsequent
frequency should be reduced by prob_pass_wont_exit. Caller
should've managed the flags so all except for original loop
has won't exist set. */
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 8ea8115617a..c7c2cf12ea4 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -2847,7 +2847,7 @@ case ${target} in
;;
esac
- # The Sparc port checks this value at compile-time.
+ # The SPARC port checks this value at compile-time.
target_cpu_default2="TARGET_CPU_$with_cpu"
;;
v850*-*-*)
diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h
index 19668e920bc..d00e1bbc17f 100644
--- a/gcc/config/alpha/alpha.h
+++ b/gcc/config/alpha/alpha.h
@@ -735,7 +735,7 @@ extern int alpha_memory_latency;
makes the stack pointer a smaller address. */
#define STACK_GROWS_DOWNWARD
-/* Define this to non-zero if the nominal address of the stack frame
+/* Define this to nonzero if the nominal address of the stack frame
is at the high-address end of the local variables;
that is, each additional local variable allocated
goes at a more negative offset in the frame. */
diff --git a/gcc/config/alpha/linux.h b/gcc/config/alpha/linux.h
index 0773462692d..2768748a2d9 100644
--- a/gcc/config/alpha/linux.h
+++ b/gcc/config/alpha/linux.h
@@ -67,7 +67,7 @@ Boston, MA 02110-1301, USA. */
/* Define this so that all GNU/Linux targets handle the same pragmas. */
#define HANDLE_PRAGMA_PACK_PUSH_POP
-/* Determine whether the the entire c99 runtime is present in the
+/* Determine whether the entire c99 runtime is present in the
runtime library. */
#define TARGET_C99_FUNCTIONS 1
diff --git a/gcc/config/alpha/predicates.md b/gcc/config/alpha/predicates.md
index 8b7b8bda591..fc330ff12c3 100644
--- a/gcc/config/alpha/predicates.md
+++ b/gcc/config/alpha/predicates.md
@@ -72,7 +72,7 @@
(and (match_code "const_int,const_double,const_vector")
(not (match_operand 0 "add_operand"))))
-;; Return 1 if the operand is a non-symbolic, non-zero constant operand.
+;; Return 1 if the operand is a non-symbolic, nonzero constant operand.
(define_predicate "non_zero_const_operand"
(and (match_code "const_int,const_double,const_vector")
(match_test "op != CONST0_RTX (mode)")))
diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h
index 524a88a4e4f..c7253b1146f 100644
--- a/gcc/config/arc/arc.h
+++ b/gcc/config/arc/arc.h
@@ -455,7 +455,7 @@ extern enum reg_class arc_regno_reg_class[FIRST_PSEUDO_REGISTER];
pointer to a smaller address. */
#define STACK_GROWS_DOWNWARD
-/* Define this to non-zero if the nominal address of the stack frame
+/* Define this to nonzero if the nominal address of the stack frame
is at the high-address end of the local variables;
that is, each additional local variable allocated
goes at a more negative offset in the frame. */
diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h
index 3c4803f5162..1f906c83e14 100644
--- a/gcc/config/arm/arm.h
+++ b/gcc/config/arm/arm.h
@@ -1337,7 +1337,7 @@ enum reg_class
makes the stack pointer a smaller address. */
#define STACK_GROWS_DOWNWARD 1
-/* Define this to non-zero if the nominal address of the stack frame
+/* Define this to nonzero if the nominal address of the stack frame
is at the high-address end of the local variables;
that is, each additional local variable allocated
goes at a more negative offset in the frame. */
diff --git a/gcc/config/arm/ieee754-df.S b/gcc/config/arm/ieee754-df.S
index 3cfb71b71e4..0d6bf969c4a 100644
--- a/gcc/config/arm/ieee754-df.S
+++ b/gcc/config/arm/ieee754-df.S
@@ -994,7 +994,7 @@ LSYM(Ldv_s):
mov xl, yl
mov xh, yh
b LSYM(Lml_n) @ <anything> / NAN -> NAN
-2: @ If both are non-zero, we need to normalize and resume above.
+2: @ If both are nonzero, we need to normalize and resume above.
orrs r6, xl, xh, lsl #1
orrnes r6, yl, yh, lsl #1
bne LSYM(Lml_d)
diff --git a/gcc/config/arm/ieee754-sf.S b/gcc/config/arm/ieee754-sf.S
index d3261956322..f74f458dd18 100644
--- a/gcc/config/arm/ieee754-sf.S
+++ b/gcc/config/arm/ieee754-sf.S
@@ -705,7 +705,7 @@ LSYM(Ldv_s):
beq LSYM(Lml_z) @ <anything> / INF -> 0
mov r0, r1
b LSYM(Lml_n) @ <anything> / NAN -> NAN
-2: @ If both are non-zero, we need to normalize and resume above.
+2: @ If both are nonzero, we need to normalize and resume above.
bics ip, r0, #0x80000000
bicnes ip, r1, #0x80000000
bne LSYM(Ldv_d)
diff --git a/gcc/config/bfin/bfin.c b/gcc/config/bfin/bfin.c
index 05541640c56..76b6f044fa2 100644
--- a/gcc/config/bfin/bfin.c
+++ b/gcc/config/bfin/bfin.c
@@ -435,7 +435,7 @@ bfin_frame_pointer_required (void)
if (fkind != SUBROUTINE)
return 1;
- /* We turn on on -fomit-frame-pointer if -momit-leaf-frame-pointer is used,
+ /* We turn on -fomit-frame-pointer if -momit-leaf-frame-pointer is used,
so we have to override it for non-leaf functions. */
if (TARGET_OMIT_LEAF_FRAME_POINTER && ! current_function_is_leaf)
return 1;
diff --git a/gcc/config/bfin/bfin.h b/gcc/config/bfin/bfin.h
index cfc6f5bc50b..c959e4538b7 100644
--- a/gcc/config/bfin/bfin.h
+++ b/gcc/config/bfin/bfin.h
@@ -79,7 +79,7 @@ extern const char *bfin_library_id_string;
#define STACK_PUSH_CODE PRE_DEC
-/* Define this to non-zero if the nominal address of the stack frame
+/* Define this to nonzero if the nominal address of the stack frame
is at the high-address end of the local variables;
that is, each additional local variable allocated
goes at a more negative offset in the frame. */
diff --git a/gcc/config/c4x/c4x.h b/gcc/config/c4x/c4x.h
index e36fe43e282..43d44b1ce8c 100644
--- a/gcc/config/c4x/c4x.h
+++ b/gcc/config/c4x/c4x.h
@@ -863,7 +863,7 @@ enum reg_class
/* #define STACK_GROWS_DOWNWARD. */
/* Like the dsp16xx, i370, i960, and we32k ports. */
-/* Define this to non-zero if the nominal address of the stack frame
+/* Define this to nonzero if the nominal address of the stack frame
is at the high-address end of the local variables;
that is, each additional local variable allocated
goes at a more negative offset in the frame. */
diff --git a/gcc/config/crx/crx.c b/gcc/config/crx/crx.c
index 8eb4d0dcbba..02bbe435a02 100644
--- a/gcc/config/crx/crx.c
+++ b/gcc/config/crx/crx.c
@@ -96,7 +96,7 @@
/* STATIC VARIABLES */
/*****************************************************************************/
-/* Non-zero if the last param processed is passed in a register. */
+/* Nonzero if the last param processed is passed in a register. */
static int last_parm_in_reg;
/* Will hold the number of the last register the prologue saves, -1 if no
@@ -522,7 +522,7 @@ crx_function_arg_advance (CUMULATIVE_ARGS * cum, enum machine_mode mode,
}
-/* Implements the macro FUNCTION_ARG_REGNO_P defined in crx.h. Return non-zero
+/* Implements the macro FUNCTION_ARG_REGNO_P defined in crx.h. Return nonzero
* if N is a register used for passing parameters. */
int
@@ -666,8 +666,8 @@ crx_legitimate_address_p (enum machine_mode mode ATTRIBUTE_UNUSED,
/* Return the cost of moving data of mode MODE between a register of class
* CLASS and memory; IN is zero if the value is to be written to memory,
- * non-zero if it is to be read in. This cost is relative to those in
- * REGISTER_MOVE_COST. */
+ * nonzero if it is to be read in. This cost is relative to those in
+ * REGISTER_MOVE_COST. */
int
crx_memory_move_cost (enum machine_mode mode,
diff --git a/gcc/config/fr30/fr30.h b/gcc/config/fr30/fr30.h
index 37ed63a339b..b423b0a66ce 100644
--- a/gcc/config/fr30/fr30.h
+++ b/gcc/config/fr30/fr30.h
@@ -463,7 +463,7 @@ enum reg_class
to a smaller address. */
#define STACK_GROWS_DOWNWARD 1
-/* Define this to macro non-zero if the addresses of local variable slots
+/* Define this to macro nonzero if the addresses of local variable slots
are at negative offsets from the frame pointer. */
#define FRAME_GROWS_DOWNWARD 1
diff --git a/gcc/config/frv/frv.h b/gcc/config/frv/frv.h
index 826e457073a..d5586c06493 100644
--- a/gcc/config/frv/frv.h
+++ b/gcc/config/frv/frv.h
@@ -1445,7 +1445,7 @@ typedef struct frv_stack {
to a smaller address. */
#define STACK_GROWS_DOWNWARD 1
-/* Define this macro to non-zero if the addresses of local variable slots
+/* Define this macro to nonzero if the addresses of local variable slots
are at negative offsets from the frame pointer. */
#define FRAME_GROWS_DOWNWARD 1
diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h
index 3b38e315633..cf64b09d2ae 100644
--- a/gcc/config/h8300/h8300.h
+++ b/gcc/config/h8300/h8300.h
@@ -485,7 +485,7 @@ enum reg_class {
#define STACK_GROWS_DOWNWARD
-/* Define this to non-zero if the nominal address of the stack frame
+/* Define this to nonzero if the nominal address of the stack frame
is at the high-address end of the local variables;
that is, each additional local variable allocated
goes at a more negative offset in the frame. */
diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h
index da4218b2170..3213ee5b98c 100644
--- a/gcc/config/i386/i386.h
+++ b/gcc/config/i386/i386.h
@@ -1359,7 +1359,7 @@ enum reg_class
makes the stack pointer a smaller address. */
#define STACK_GROWS_DOWNWARD
-/* Define this to non-zero if the nominal address of the stack frame
+/* Define this to nonzero if the nominal address of the stack frame
is at the high-address end of the local variables;
that is, each additional local variable allocated
goes at a more negative offset in the frame. */
diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c
index 1873f898142..f4b8cee2706 100644
--- a/gcc/config/ia64/ia64.c
+++ b/gcc/config/ia64/ia64.c
@@ -7439,7 +7439,7 @@ final_emit_insn_group_barriers (FILE *dump ATTRIBUTE_UNUSED)
-/* If the following function returns TRUE, we will use the the DFA
+/* If the following function returns TRUE, we will use the DFA
insn scheduler. */
static int
diff --git a/gcc/config/ia64/ia64.h b/gcc/config/ia64/ia64.h
index 8b92cedf511..cefed69cf89 100644
--- a/gcc/config/ia64/ia64.h
+++ b/gcc/config/ia64/ia64.h
@@ -956,7 +956,7 @@ enum reg_class
to a smaller address. */
#define STACK_GROWS_DOWNWARD 1
-/* Define this macro to non-zero if the addresses of local variable slots
+/* Define this macro to nonzero if the addresses of local variable slots
are at negative offsets from the frame pointer. */
#define FRAME_GROWS_DOWNWARD 0
diff --git a/gcc/config/linux.h b/gcc/config/linux.h
index 3853fa42a00..d4527268970 100644
--- a/gcc/config/linux.h
+++ b/gcc/config/linux.h
@@ -99,7 +99,7 @@ Boston, MA 02110-1301, USA. */
#define USE_LD_AS_NEEDED 1
#endif
-/* Determine whether the the entire c99 runtime
+/* Determine whether the entire c99 runtime
is present in the runtime library. */
#define TARGET_C99_FUNCTIONS 1
diff --git a/gcc/config/m68hc11/m68hc11.h b/gcc/config/m68hc11/m68hc11.h
index b033d6e50c3..008887bacdd 100644
--- a/gcc/config/m68hc11/m68hc11.h
+++ b/gcc/config/m68hc11/m68hc11.h
@@ -800,7 +800,7 @@ extern enum reg_class m68hc11_tmp_regs_class;
makes the stack pointer a smaller address. */
#define STACK_GROWS_DOWNWARD
-/* Define this to non-zero if the nominal address of the stack frame
+/* Define this to nonzero if the nominal address of the stack frame
is at the high-address end of the local variables;
that is, each additional local variable allocated
goes at a more negative offset in the frame.
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index 8ae0f7e5148..af2db04f61a 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -6184,7 +6184,7 @@ mips_save_reg_p (unsigned int regno)
/* Return the bytes needed to compute the frame pointer from the current
stack pointer. SIZE is the size (in bytes) of the local variables.
- Mips stack frames look like:
+ MIPS stack frames look like:
Before call After call
+-----------------------+ +-----------------------+
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
index 5fd3adf3e8a..2d11a88a7d4 100644
--- a/gcc/config/mips/mips.h
+++ b/gcc/config/mips/mips.h
@@ -1746,7 +1746,7 @@ extern enum reg_class mips_char_to_class[256];
/* Similar, but for floating constants, and defining letters G and H.
Here VALUE is the CONST_DOUBLE rtx itself. */
-/* For Mips
+/* For MIPS
'G' : Floating point 0 */
diff --git a/gcc/config/mips/openbsd.h b/gcc/config/mips/openbsd.h
index 67e60fe688c..69cc0c6ad1a 100644
--- a/gcc/config/mips/openbsd.h
+++ b/gcc/config/mips/openbsd.h
@@ -1,4 +1,4 @@
-/* Configuration for a Mips ABI32 OpenBSD target.
+/* Configuration for a MIPS ABI32 OpenBSD target.
Copyright (C) 1999, 2003, 2004 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/gcc/config/mn10300/mn10300.h b/gcc/config/mn10300/mn10300.h
index e86c7b56685..20751fd18a0 100644
--- a/gcc/config/mn10300/mn10300.h
+++ b/gcc/config/mn10300/mn10300.h
@@ -480,7 +480,7 @@ enum reg_class {
#define STACK_GROWS_DOWNWARD
-/* Define this to non-zero if the nominal address of the stack frame
+/* Define this to nonzero if the nominal address of the stack frame
is at the high-address end of the local variables;
that is, each additional local variable allocated
goes at a more negative offset in the frame. */
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c
index ffe6708d319..260d2125e94 100644
--- a/gcc/config/pa/pa.c
+++ b/gcc/config/pa/pa.c
@@ -3504,7 +3504,7 @@ pa_output_function_prologue (FILE *file, HOST_WIDE_INT size ATTRIBUTE_UNUSED)
/* The SAVE_SP flag is used to indicate that register %r3 is stored
at the beginning of the frame and that it is used as the frame
pointer for the frame. We do this because our current frame
- layout doesn't conform to that specified in the the HP runtime
+ layout doesn't conform to that specified in the HP runtime
documentation and we need a way to indicate to programs such as
GDB where %r3 is saved. The SAVE_SP flag was chosen because it
isn't used by HP compilers but is supported by the assembler.
diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h
index 76a64feddb1..d56ebcf7a12 100644
--- a/gcc/config/pa/pa.h
+++ b/gcc/config/pa/pa.h
@@ -500,7 +500,7 @@ extern struct rtx_def *hppa_pic_save_rtx (void);
/* Believe it or not. */
#define ARGS_GROW_DOWNWARD
-/* Define this to non-zero if the nominal address of the stack frame
+/* Define this to nonzero if the nominal address of the stack frame
is at the high-address end of the local variables;
that is, each additional local variable allocated
goes at a more negative offset in the frame. */
diff --git a/gcc/config/pdp11/pdp11.h b/gcc/config/pdp11/pdp11.h
index bb83fdfd4b0..09de325b7a9 100644
--- a/gcc/config/pdp11/pdp11.h
+++ b/gcc/config/pdp11/pdp11.h
@@ -415,7 +415,7 @@ loading is easier into LOAD_FPU_REGS than FPU_REGS! */
makes the stack pointer a smaller address. */
#define STACK_GROWS_DOWNWARD
-/* Define this to non-zero if the nominal address of the stack frame
+/* Define this to nonzero if the nominal address of the stack frame
is at the high-address end of the local variables;
that is, each additional local variable allocated
goes at a more negative offset in the frame.
diff --git a/gcc/config/rs6000/linux-unwind.h b/gcc/config/rs6000/linux-unwind.h
index 71bebd2caa0..6e822bde0e2 100644
--- a/gcc/config/rs6000/linux-unwind.h
+++ b/gcc/config/rs6000/linux-unwind.h
@@ -276,7 +276,7 @@ ppc_fallback_frame_state (struct _Unwind_Context *context,
if (hwcap == 0)
{
hwcap = ppc_linux_aux_vector (16);
- /* These will already be set if we found AT_HWCAP. A non-zero
+ /* These will already be set if we found AT_HWCAP. A nonzero
value stops us looking again if for some reason we couldn't
find AT_HWCAP. */
#ifdef __powerpc64__
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 3fd007c9617..625f8b74375 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -4674,7 +4674,7 @@ rs6000_darwin64_record_arg_recurse (CUMULATIVE_ARGS *cum, tree type,
This code is also used for function return values. RETVAL indicates
whether this is the case.
- Much of this is taken from the Sparc V9 port, which has a similar
+ Much of this is taken from the SPARC V9 port, which has a similar
calling convention. */
static rtx
diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h
index 01f091d3661..2b5be35dba1 100644
--- a/gcc/config/rs6000/rs6000.h
+++ b/gcc/config/rs6000/rs6000.h
@@ -1227,7 +1227,7 @@ extern enum rs6000_abi rs6000_current_abi; /* available for use by subtarget */
/* Offsets recorded in opcodes are a multiple of this alignment factor. */
#define DWARF_CIE_DATA_ALIGNMENT (-((int) (TARGET_32BIT ? 4 : 8)))
-/* Define this to non-zero if the nominal address of the stack frame
+/* Define this to nonzero if the nominal address of the stack frame
is at the high-address end of the local variables;
that is, each additional local variable allocated
goes at a more negative offset in the frame.
diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c
index e10afafabdf..8be77077189 100644
--- a/gcc/config/s390/s390.c
+++ b/gcc/config/s390/s390.c
@@ -6207,7 +6207,7 @@ save_gprs (rtx base, int offset, int first, int last)
However, we must not emit DWARF records for registers 2..5
if they are stored for use by variable arguments ...
- ??? Unfortunately, it is not enough to simply not the the
+ ??? Unfortunately, it is not enough to simply not the
FRAME_RELATED flags for those SETs, because the first SET
of the PARALLEL is always treated as if it had the flag
set, even if it does not. Therefore we emit a new pattern
diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c
index fbf8e01e885..c9cd3c83d45 100644
--- a/gcc/config/sh/sh.c
+++ b/gcc/config/sh/sh.c
@@ -10459,7 +10459,7 @@ sh_contains_memref_p_1 (rtx *loc, void *data ATTRIBUTE_UNUSED)
return (GET_CODE (*loc) == MEM);
}
-/* Return non-zero iff INSN contains a MEM. */
+/* Return nonzero iff INSN contains a MEM. */
int
sh_contains_memref_p (rtx insn)
{
diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h
index 835f66922c5..3d16f449504 100644
--- a/gcc/config/sh/sh.h
+++ b/gcc/config/sh/sh.h
@@ -1704,7 +1704,7 @@ extern enum reg_class reg_class_from_letter[];
makes the stack pointer a smaller address. */
#define STACK_GROWS_DOWNWARD
-/* Define this macro to non-zero if the addresses of local variable slots
+/* Define this macro to nonzero if the addresses of local variable slots
are at negative offsets from the frame pointer. */
#define FRAME_GROWS_DOWNWARD 1
diff --git a/gcc/config/sparc/linux.h b/gcc/config/sparc/linux.h
index c90080e1eed..813a18dc01a 100644
--- a/gcc/config/sparc/linux.h
+++ b/gcc/config/sparc/linux.h
@@ -204,7 +204,7 @@ do { \
#undef CTORS_SECTION_ASM_OP
#undef DTORS_SECTION_ASM_OP
-/* Determine whether the the entire c99 runtime is present in the
+/* Determine whether the entire c99 runtime is present in the
runtime library. */
#define TARGET_C99_FUNCTIONS 1
diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h
index d7ebb86e945..dc89408d526 100644
--- a/gcc/config/sparc/linux64.h
+++ b/gcc/config/sparc/linux64.h
@@ -338,7 +338,7 @@ do { \
#undef CTORS_SECTION_ASM_OP
#undef DTORS_SECTION_ASM_OP
-/* Determine whether the the entire c99 runtime is present in the
+/* Determine whether the entire c99 runtime is present in the
runtime library. */
#define TARGET_C99_FUNCTIONS 1
diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h
index 35b8dd5cccb..bb81dcc2208 100644
--- a/gcc/config/sparc/sparc.h
+++ b/gcc/config/sparc/sparc.h
@@ -1360,7 +1360,7 @@ extern char leaf_reg_remap[];
makes the stack pointer a smaller address. */
#define STACK_GROWS_DOWNWARD
-/* Define this to non-zero if the nominal address of the stack frame
+/* Define this to nonzero if the nominal address of the stack frame
is at the high-address end of the local variables;
that is, each additional local variable allocated
goes at a more negative offset in the frame. */
diff --git a/gcc/config/v850/v850.h b/gcc/config/v850/v850.h
index 4b0af763ace..6bde40b0232 100644
--- a/gcc/config/v850/v850.h
+++ b/gcc/config/v850/v850.h
@@ -434,7 +434,7 @@ enum reg_class
#define STACK_GROWS_DOWNWARD
-/* Define this to non-zero if the nominal address of the stack frame
+/* Define this to nonzero if the nominal address of the stack frame
is at the high-address end of the local variables;
that is, each additional local variable allocated
goes at a more negative offset in the frame. */
diff --git a/gcc/config/vax/vax.h b/gcc/config/vax/vax.h
index ca806fe2a0f..787e32119e8 100644
--- a/gcc/config/vax/vax.h
+++ b/gcc/config/vax/vax.h
@@ -314,7 +314,7 @@ enum reg_class { NO_REGS, ALL_REGS, LIM_REG_CLASSES };
makes the stack pointer a smaller address. */
#define STACK_GROWS_DOWNWARD
-/* Define this to non-zero if the nominal address of the stack frame
+/* Define this to nonzero if the nominal address of the stack frame
is at the high-address end of the local variables;
that is, each additional local variable allocated
goes at a more negative offset in the frame. */
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 270223d9351..e0ade59502a 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -4775,7 +4775,7 @@ returns @code{(size_t) -1} for @var{type} 0 or 1 and @code{(size_t) 0}
for @var{type} 2 or 3. If there are multiple objects @var{ptr} can
point to and all of them are known at compile time, the returned number
is the maximum of remaining byte counts in those objects if @var{type} & 2 is
-0 and minimum if non-zero. If it is not possible to determine which objects
+0 and minimum if nonzero. If it is not possible to determine which objects
@var{ptr} points to at compile time, @code{__builtin_object_size} should
return @code{(size_t) -1} for @var{type} 0 or 1 and @code{(size_t) 0}
for @var{type} 2 or 3.
@@ -4861,7 +4861,7 @@ additional security measures the checking function might take, such as
handling @code{%n} differently.
The @var{os} argument is the object size @var{s} points to, like in the
-other built-in functions. There is a small difference in the behaviour
+other built-in functions. There is a small difference in the behavior
though, if @var{os} is @code{(size_t) -1}, the built-in functions are
optimized into the non-checking functions only if @var{flag} is 0, otherwise
the checking function is called with @var{os} argument set to
diff --git a/gcc/doc/gcov.texi b/gcc/doc/gcov.texi
index d932ab94ae8..d1ad47cf04a 100644
--- a/gcc/doc/gcov.texi
+++ b/gcc/doc/gcov.texi
@@ -570,4 +570,4 @@ setting will name the data file @file{/target/run/build/foo.gcda}.
You must move the data files to the expected directory tree in order to
use them for profile directed optimizations (@option{--use-profile}), or to
-use the the @command{gcov} tool.
+use the @command{gcov} tool.
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 244971b55d8..27f44f885ec 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -2645,7 +2645,7 @@ GCC@ for building a CRX cross-compiler. The option @samp{--target=crx-elf}
is also used to build the @samp{newlib} C library for CRX.
It is also possible to build libstdc++-v3 for the CRX architecture. This
-needs to be done in a sepearate step with the following configure settings:
+needs to be done in a separate step with the following configure settings:
@samp{gcc/libstdc++-v3/configure --host=crx-elf --with-newlib
--enable-sjlj-exceptions --enable-cxx-flags='-fexceptions -frtti'}
@@ -3336,10 +3336,10 @@ the use of break, use the @option{--with-divide=breaks}
@command{configure} option when configuring GCC@. The default is to
use traps on systems that support them.
-Cross-compilers for the Mips as target using the Mips assembler
+Cross-compilers for the MIPS as target using the MIPS assembler
currently do not work, because the auxiliary programs
@file{mips-tdump.c} and @file{mips-tfile.c} can't be compiled on
-anything but a Mips. It does work to cross compile for a Mips
+anything but a MIPS. It does work to cross compile for a MIPS
if you use the GNU assembler and linker.
@html
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index b4de87c5ba6..c4dcd888668 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -9077,7 +9077,7 @@ compatible with arrays or structures in code compiled without that switch.
@opindex mlarge-data-threshold=@var{number}
When @option{-mcmodel=medium} is specified, the data greater than
@var{threshold} are placed in large data section. This value must be the
-same across all object linked into the binarry and defaults to 65535.
+same across all object linked into the binary and defaults to 65535.
@item -msvr3-shlib
@itemx -mno-svr3-shlib
diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi
index 72853a6a556..05baadaa8db 100644
--- a/gcc/doc/rtl.texi
+++ b/gcc/doc/rtl.texi
@@ -1505,7 +1505,7 @@ value of @code{FIRST_PARM_OFFSET}.
@findex VIRTUAL_STACK_VARS_REGNUM
@cindex @code{FRAME_GROWS_DOWNWARD} and virtual registers
@item VIRTUAL_STACK_VARS_REGNUM
-If @code{FRAME_GROWS_DOWNWARD} is defined to a non-zero value, this points
+If @code{FRAME_GROWS_DOWNWARD} is defined to a nonzero value, this points
to immediately above the first variable on the stack. Otherwise, it points
to the first variable on the stack.
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index a6703b19c8e..4f4be2380db 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -2753,7 +2753,7 @@ which is often wrong.
@end defmac
@defmac FRAME_GROWS_DOWNWARD
-Define this macro to non-zero value if the addresses of local variable slots
+Define this macro to nonzero value if the addresses of local variable slots
are at negative offsets from the frame pointer.
@end defmac
@@ -8955,7 +8955,7 @@ this macro.
@end defmac
@defmac VECTOR_STORE_FLAG_VALUE (@var{mode})
-A C expression that gives a rtx representing the non-zero true element
+A C expression that gives a rtx representing the nonzero true element
for vector comparisons. The returned rtx should be valid for the inner
mode of @var{mode} which is guaranteed to be a vector mode. Define
this macro on machines that have vector comparison operations that
diff --git a/gcc/ipa-cp.c b/gcc/ipa-cp.c
index f7dad3f63e4..18d5bc0421b 100644
--- a/gcc/ipa-cp.c
+++ b/gcc/ipa-cp.c
@@ -166,7 +166,7 @@ ipcp_method_set_orig_node (struct cgraph_node *node,
IPA_NODE_REF (node)->ipcp_orig_node = orig_node;
}
-/* Create ipa_node and its data strutures for NEW_NODE.
+/* Create ipa_node and its data structures for NEW_NODE.
Set ORIG_NODE as the orig_node field in ipa_node. */
static void
ipcp_cloned_create (struct cgraph_node *orig_node,
@@ -434,7 +434,7 @@ ipcp_method_cval_init (struct cgraph_node *mt)
}
/* Create a new assignment statment and make
- it the first statemant in the function FN
+ it the first statement in the function FN
tree.
PARM1 is the lhs of the assignment and
VAL is the rhs. */
@@ -706,7 +706,7 @@ ipcp_profile_mt_count_print (FILE * f)
}
}
-/* Print counts of all cgraph edgess. */
+/* Print counts of all cgraph edges. */
static void
ipcp_profile_cs_count_print (FILE * f)
{
diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c
index cdbf94be8ab..ab19489c4d2 100644
--- a/gcc/ipa-prop.c
+++ b/gcc/ipa-prop.c
@@ -492,7 +492,7 @@ ipa_callsite_compute_param (struct cgraph_edge *cs)
}
/* This is for the case of Fortran. If the address of a const_decl
was passed as argument then we store
- CONST_IPATYPE_REF/CONST_IPATYPE_REF and the costant
+ CONST_IPATYPE_REF/CONST_IPATYPE_REF and the constant
value as the jump function corresponding to this argument. */
else if (TREE_CODE (TREE_VALUE (arg)) == ADDR_EXPR
&& TREE_CODE (TREE_OPERAND (TREE_VALUE (arg), 0)) ==
diff --git a/gcc/ipa-prop.h b/gcc/ipa-prop.h
index db9b91691a5..159f566ce16 100644
--- a/gcc/ipa-prop.h
+++ b/gcc/ipa-prop.h
@@ -157,7 +157,7 @@ struct ipa_methodlist
struct ipa_methodlist *next_method;
};
-/* A pointer to a methodlist elemement. */
+/* A pointer to a methodlist element. */
typedef struct ipa_methodlist *ipa_methodlist_p;
/* ipa_methodlist interface. */
diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c
index aedd4a5cf3a..34e2dd9e33d 100644
--- a/gcc/reg-stack.c
+++ b/gcc/reg-stack.c
@@ -2770,7 +2770,7 @@ better_edge (edge e1, edge e2)
if (EDGE_CRITICAL_P (e1) != EDGE_CRITICAL_P (e2))
return EDGE_CRITICAL_P (e1) ? e1 : e2;
- /* Avoid non-deterministic behaviour. */
+ /* Avoid non-deterministic behavior. */
return (e1->src->index < e2->src->index) ? e1 : e2;
}
diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c
index b01e9e70550..13b9751288f 100644
--- a/gcc/tree-ssa-structalias.c
+++ b/gcc/tree-ssa-structalias.c
@@ -1594,7 +1594,7 @@ perform_var_substitution (constraint_graph_t graph)
unsigned int w;
weight = get_graph_weights (graph, *ce);
- /* We can't eliminate variables that have non-zero weighted
+ /* We can't eliminate variables that have nonzero weighted
edges between them. */
if (bitmap_other_than_zero_bit_set (weight))
{
diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c
index a77be8479cd..0bdce592b32 100644
--- a/gcc/tree-vrp.c
+++ b/gcc/tree-vrp.c
@@ -1289,7 +1289,7 @@ extract_range_from_unary_expr (value_range_t *vr, tree expr)
/* Refuse to operate on varying and symbolic ranges. Also, if the
operand is neither a pointer nor an integral type, set the
resulting range to VARYING. TODO, in some cases we may be able
- to derive anti-ranges (like non-zero values). */
+ to derive anti-ranges (like nonzero values). */
if (vr0.type == VR_VARYING
|| (!INTEGRAL_TYPE_P (TREE_TYPE (op0))
&& !POINTER_TYPE_P (TREE_TYPE (op0)))
diff --git a/gcc/value-prof.c b/gcc/value-prof.c
index 7782fa3786d..f08979020e9 100644
--- a/gcc/value-prof.c
+++ b/gcc/value-prof.c
@@ -88,7 +88,7 @@ static bool tree_mod_subtract_transform (tree);
/* The overall number of invocations of the counter should match execution count
of basic block. Report it as error rather than internal error as it might
- mean that user has missused the profile somehow. */
+ mean that user has misused the profile somehow. */
static bool
check_counter (tree stmt, const char * name, gcov_type all, gcov_type bb_count)
{
diff --git a/gcc/vec.h b/gcc/vec.h
index 14fcda4c271..586797a6eec 100644
--- a/gcc/vec.h
+++ b/gcc/vec.h
@@ -151,7 +151,7 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
/* Check if vector is empty
int VEC_T_empty(const VEC(T) *v);
- Return non-zero if V is an empty vector (or V is NULL), zero otherwise. */
+ Return nonzero if V is an empty vector (or V is NULL), zero otherwise. */
#define VEC_empty(T,V) (VEC_length (T,V) == 0)