diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4d7d27ebe84d84bf724b284f539117aa82c3d6da..4089780ef8f68d52e97ac88634a8427f612b9463 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,28 @@
+2002-09-28  Kazu Hirata  <kazu@cs.umass.edu>
+
+	* ChangeLog.4: Fix typos.
+	* ChangeLog.6: Likewise.
+	* FSFChangeLog.10: Likewise.
+	* genattrtab.c: Fix comment typos.
+	* haifa-sched.c: Likewise.
+	* real.c: Likewise.
+	* tree.h: Likewise.
+	* config/arm/arm.c: Likewise.
+	* config/arm/crti.asm: Likewise.
+	* config/arm/crtn.asm: Likewise.
+	* config/frv/frv.c: Likewise.
+	* config/frv/frv.md: Likewise.
+	* config/h8300/h8300.md: Likewise.
+	* config/i386/rtemself.h: Likewise.
+	* config/ia64/unwind-ia64.c: Likewise.
+	* config/ip2k/ip2k.h: Likewise.
+	* config/m88k/m88k.c: Likewise.
+	* config/m88k/m88k.md: Likewise.
+	* config/mips/sr71k.md: Likewise.
+	* config/mmix/mmix.c: Likewise.
+	* config/rs6000/rs6000.c: Likewise.
+	* config/sh/sh.md: Likewise.
+
 2002-09-26  Theodore A. Roth  <troth@verinet.com>
 
         * config/avr/avr.c: Eliminate use of _PC_ in pc relative insns.
diff --git a/gcc/ChangeLog.4 b/gcc/ChangeLog.4
index abd3dea1ffa555d38804ca39148e80e028cae8bc..ac0f7e0ffd09278c56d2283ac1dc7021e3078c72 100644
--- a/gcc/ChangeLog.4
+++ b/gcc/ChangeLog.4
@@ -11108,7 +11108,7 @@ Sun 20-Aug-2000 09:25:45 BST  Neil Booth  <NeilB@earthling.net>
 	instructions in it before checking for indirect jumps.
 
 	* ifcvt.c (find_if_block): Do not consider a THEN block that ends
-	in a indirect jump as a potential for conditional execution.
+	in an indirect jump as a potential for conditional execution.
 
 	* d30v.h (d30v_init_expanders): Don't declare here.
 	* d30v-protos.h (d30v_init_expanders): Declare here with a valid
diff --git a/gcc/ChangeLog.6 b/gcc/ChangeLog.6
index 63eac7d38dd4e88a3fb5710b659ea895d9b8c378..5618eaa29e2d3a5f0e13ca288da870f3d9fad0d8 100644
--- a/gcc/ChangeLog.6
+++ b/gcc/ChangeLog.6
@@ -12374,7 +12374,7 @@ Thu Aug 30 10:21:43 2001  J"orn Rennecke <amylaar@redhat.com>
 	(INIT_SECTION_ASM_OP): Define.
 	(FINI_SECTION_ASM_OP): Define.
 	(SUBTARGET_EXTRA_SECTIONS): Remove trailing comma.
-	(RDATA_SECTION_FUNCITON): Provide prototype.
+	(RDATA_SECTION_FUNCTION): Provide prototype.
 
 2001-08-29  Geoffrey Keating  <geoffk@redhat.com>
 
diff --git a/gcc/FSFChangeLog.10 b/gcc/FSFChangeLog.10
index 80ad88320d0ab141493adb6b9f653d73262c9b4f..e7ae6c5af0a28b536b9b24b3dfcc184d4ab37f10 100644
--- a/gcc/FSFChangeLog.10
+++ b/gcc/FSFChangeLog.10
@@ -6057,7 +6057,7 @@ Mon Jul 17 06:41:19 1995  Richard Kenner  (kenner@vlsi1.ultra.nyu.edu)
 
 	* xm-alpha.h (sbrk): Add declaration.
 
-	* convert.c (convert_to_integer): If TYPE is a enumeral type or
+	* convert.c (convert_to_integer): If TYPE is an enumeral type or
 	if its precision is not the same as the size of its mode,
 	convert in two steps.
 
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index 5eb1fc0574c2990eb0e1c0ad5bcf546e10d463a0..23b9043214919f71b01bd612fb44ead52d937777 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -8055,7 +8055,7 @@ emit_sfm (base_reg, count)
    current stack pointer -> |    | /
                               --
 
-  For a given function some or all of these stack compomnents
+  For a given function some or all of these stack components
   may not be needed, giving rise to the possibility of
   eliminating some of the registers.
 
diff --git a/gcc/config/arm/crti.asm b/gcc/config/arm/crti.asm
index f3741db2bed320254a63e13a1ab8458e5c7888d9..ac58e44838df7882cd14f253861a21ce315394cd 100644
--- a/gcc/config/arm/crti.asm
+++ b/gcc/config/arm/crti.asm
@@ -35,7 +35,7 @@
 # .init sections.  Users may put any desired instructions in those
 # sections.
 
-	# Note - this macro is complimented by the FUNC_END macro
+	# Note - this macro is complemented by the FUNC_END macro
 	# in crtn.asm.  If you change this macro you must also change
 	# that macro match.
 .macro FUNC_START
diff --git a/gcc/config/arm/crtn.asm b/gcc/config/arm/crtn.asm
index a7f0e9e2c713326a0c63552b418ae0d9c8f2995a..2f4b5422eb240cc5bd22c50c5e85272c18e5ba53 100644
--- a/gcc/config/arm/crtn.asm
+++ b/gcc/config/arm/crtn.asm
@@ -35,7 +35,7 @@
 # fact return.  Users may put any desired instructions in those sections.
 # This file is the last thing linked into any executable.
 
-	# Note - this macro is complimented by the FUNC_START macro
+	# Note - this macro is complemented by the FUNC_START macro
 	# in crti.asm.  If you change this macro you must also change
 	# that macro match.
 	#
diff --git a/gcc/config/frv/frv.c b/gcc/config/frv/frv.c
index cea0b571902ccd3c0384c4becb1da57fc8441f85..a49b1572669eb629ff1f96471348ce7704248b41 100644
--- a/gcc/config/frv/frv.c
+++ b/gcc/config/frv/frv.c
@@ -1753,7 +1753,7 @@ frv_function_epilogue (file, size)
 
 
 /* Called after register allocation to add any instructions needed for the
-   epilogue.  Using a epilogue insn is favored compared to putting all of the
+   epilogue.  Using an epilogue insn is favored compared to putting all of the
    instructions in the FUNCTION_PROLOGUE macro, since it allows the scheduler
    to intermix instructions with the saves of the caller saved registers.  In
    some cases, it might be necessary to emit a barrier instruction as the last
@@ -2701,7 +2701,7 @@ frv_print_operand_jump_hint (insn)
 }
 
 
-/* Print an operand to a assembler instruction.
+/* Print an operand to an assembler instruction.
 
    `%' followed by a letter and a digit says to output an operand in an
    alternate fashion.  Four letters have standard, built-in meanings described
@@ -7672,7 +7672,7 @@ frv_initialize_trampoline (addr, fnaddr, static_chain)
    registers can only be copied to memory and not to another class of
    registers.  In that case, secondary reload registers are not needed and
    would not be helpful.  Instead, a stack location must be used to perform the
-   copy and the `movM' pattern should use memory as a intermediate storage.
+   copy and the `movM' pattern should use memory as an intermediate storage.
    This case often occurs between floating-point and general registers.  */
 
 enum reg_class
diff --git a/gcc/config/frv/frv.md b/gcc/config/frv/frv.md
index ac078ba9b2c6a1fb6bbeba15c77e962379167083..a5e82ee65a9d8cb3281ee5fa10bb8c2d9d740c37 100644
--- a/gcc/config/frv/frv.md
+++ b/gcc/config/frv/frv.md
@@ -5524,7 +5524,7 @@
 }")
 
 ;; Called after register allocation to add any instructions needed for the
-;; epilogue.  Using a epilogue insn is favored compared to putting all of the
+;; epilogue.  Using an epilogue insn is favored compared to putting all of the
 ;; instructions in the FUNCTION_EPILOGUE macro, since it allows the scheduler
 ;; to intermix instructions with the restires of the caller saved registers.
 ;; In some cases, it might be necessary to emit a barrier instruction as the
diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md
index 5ac93fc655c4c27d120233410d698c1a011a77f1..ab2573ab5b946c56e3e62629edb039d1e5296472 100644
--- a/gcc/config/h8300/h8300.md
+++ b/gcc/config/h8300/h8300.md
@@ -35,7 +35,7 @@
 ;; more 16bit registers).  At that point addhi and subhi can't use
 ;; adds/subs.
 
-;; There's currently no way to have a insv/extzv expander for the H8/300H
+;; There's currently no way to have an insv/extzv expander for the H8/300H
 ;; because word_mode is different for the H8/300 and H8/300H.
 
 ;; Shifts/rotates by small constants should be handled by special
diff --git a/gcc/config/i386/rtemself.h b/gcc/config/i386/rtemself.h
index dcf2808cd14d17edb373fea1d70e61eae306e1dc..096717816f2cd535f9b07819e2d1bd451dfea684 100644
--- a/gcc/config/i386/rtemself.h
+++ b/gcc/config/i386/rtemself.h
@@ -1,4 +1,4 @@
-/* Definitions for rtems targeting a ix86 using ELF.
+/* Definitions for rtems targeting an ix86 using ELF.
    Copyright (C) 1996, 1997, 2000, 2001, 2002 Free Software Foundation, Inc.
    Contributed by Joel Sherrill (joel@OARcorp.com).
 
diff --git a/gcc/config/ia64/unwind-ia64.c b/gcc/config/ia64/unwind-ia64.c
index daf02a2cd30d9fa5fcf6c80519a62b7aa8b9805c..e55f1f8c363969f40bbecb6178fd1b011b2f4cbf 100644
--- a/gcc/config/ia64/unwind-ia64.c
+++ b/gcc/config/ia64/unwind-ia64.c
@@ -143,7 +143,7 @@ typedef struct unw_state_record
   unsigned int any_spills : 1;		/* got any register spills? */
   unsigned int in_body : 1;	/* are we inside a body? */
   unsigned int no_reg_stack_frame : 1;	/* Don't adjust bsp for i&l regs */
-  unsigned char *imask;		/* imask of of spill_mask record or NULL */
+  unsigned char *imask;		/* imask of spill_mask record or NULL */
   unsigned long pr_val;		/* predicate values */
   unsigned long pr_mask;	/* predicate mask */
   long spill_offset;		/* psp-relative offset for spill base */
diff --git a/gcc/config/ip2k/ip2k.h b/gcc/config/ip2k/ip2k.h
index e05b02c2b0c16352137490afa9c802973b91fa34..00be9c4408d335442ea7bc6e0b1a7f2d37966c8e 100644
--- a/gcc/config/ip2k/ip2k.h
+++ b/gcc/config/ip2k/ip2k.h
@@ -851,7 +851,7 @@ enum reg_class {
    class of registers.  In that case, secondary reload registers are
    not needed and would not be helpful.  Instead, a stack location
    must be used to perform the copy and the `movM' pattern should use
-   memory as a intermediate storage.  This case often occurs between
+   memory as an intermediate storage.  This case often occurs between
    floating-point and general registers.  */
 
 /* `SECONDARY_MEMORY_NEEDED (CLASS1, CLASS2, M)'
diff --git a/gcc/config/m88k/m88k.c b/gcc/config/m88k/m88k.c
index a6eae5efb3610551601fcf0b598bdd229a09b298..fde0d14a2a134e28081283177c8e125dddf248d8 100644
--- a/gcc/config/m88k/m88k.c
+++ b/gcc/config/m88k/m88k.c
@@ -2921,7 +2921,7 @@ print_operand (file, x, code)
       fprintf (file, "%d", value);
       return;
 
-    case 'S': /* compliment the value and then... */
+    case 'S': /* complement the value and then... */
       value = ~value;
     case 's': /* print the width and offset values forming the integer
 		 constant with a SET instruction.  See integer_ok_for_set. */
diff --git a/gcc/config/m88k/m88k.md b/gcc/config/m88k/m88k.md
index 24a66f86ec8ecfb52775a5addcd246f5d6bb5e24..edefd23db088f2b2f8f3249f2ebf63fd00099114 100644
--- a/gcc/config/m88k/m88k.md
+++ b/gcc/config/m88k/m88k.md
@@ -398,10 +398,10 @@
 ;;
 ;; When the extracted conditions are the same, the define_split patterns
 ;; below change extu/extu/{and,or} into {and,or}/extu.  If the reversed
-;; conditions match, one compare word can be complimented, resulting in
+;; conditions match, one compare word can be complemented, resulting in
 ;; {and.c,or.c}/extu.  These changes are done for ext/ext/{and,or} as well.
 ;; If the conditions don't line up, one can be rotated.  To keep the pairwise
-;; relationship, it may be necessary to both rotate and compliment.  Rotating
+;; relationship, it may be necessary to both rotate and complement.  Rotating
 ;; makes branching cheaper, but doesn't help (or hurt) creating a value, so
 ;; we don't do this for ext/ext/{and,or}.
 ;;
@@ -430,7 +430,7 @@
      ; /* The conditions match.  */
    else if (GET_CODE (operands[1])
 	    == reverse_condition (GET_CODE (operands[3])))
-     /* Reverse the condition by complimenting the compare word.  */
+     /* Reverse the condition by complementing the compare word.  */
      operands[4] = gen_rtx_NOT (CCmode, operands[4]);
    else
      {
@@ -525,7 +525,7 @@
    (set (match_dup 0)
 	(match_op_dup 1 [(match_dup 5) (const_int 0)]))]
   "operands[5] = gen_rtx_SUBREG (CCEVENmode, operands[5], 0);
-   /* Reverse the condition by  complimenting the compare word.  */
+   /* Reverse the condition by complementing the compare word.  */
    if (GET_CODE (operands[1]) != GET_CODE (operands[3]))
       operands[4] = gen_rtx_NOT (CCmode, operands[4]);")
 
@@ -585,7 +585,7 @@
      ; /* The conditions match.  */
    else if (GET_CODE (operands[1])
 	    == reverse_condition (GET_CODE (operands[3])))
-     /* Reverse the condition by complimenting the compare word.  */
+     /* Reverse the condition by complementing the compare word.  */
      operands[4] = gen_rtx_NOT (CCmode, operands[4]);
    else
      {
@@ -677,7 +677,7 @@
    (set (match_dup 0)
 	(match_op_dup 1 [(match_dup 5) (const_int 0)]))]
   "operands[5] = gen_rtx_SUBREG (CCEVENmode, operands[5], 0);
-   /* Reverse the condition by  complimenting the compare word.  */
+   /* Reverse the condition by complementing the compare word.  */
    if (GET_CODE (operands[1]) != GET_CODE (operands[3]))
       operands[4] = gen_rtx_NOT (CCmode, operands[4]);")
 
diff --git a/gcc/config/mips/sr71k.md b/gcc/config/mips/sr71k.md
index faeeebc788b376c97d556a382718e6526cd0ceac..82162e3ca3943af9a347ae78db35bace458afc10 100644
--- a/gcc/config/mips/sr71k.md
+++ b/gcc/config/mips/sr71k.md
@@ -4,7 +4,7 @@
 ;;
 ;; The SR3 is describeds as:
 ;;     - nine-stage pipeline, insn buffering with out-of-order issue to
-;;       multiple function units, with a average dispatch rate of 2
+;;       multiple function units, with an average dispatch rate of 2
 ;;       insn.s per cycle (max 6 insns: 2 fpu, 4 cpu).
 ;;
 ;;  The details on this are scant except for a diagram in
diff --git a/gcc/config/mmix/mmix.c b/gcc/config/mmix/mmix.c
index 61af93a9608c34f5eaa364f680f9499d6727c208..be1d25ef4de9c88f4f4124dffd20ecaab18d7d3e 100644
--- a/gcc/config/mmix/mmix.c
+++ b/gcc/config/mmix/mmix.c
@@ -693,7 +693,7 @@ mmix_asm_preferred_eh_data_format (code, global)
   return DW_EH_PE_absptr;
 }
 
-/* Make a note that we've seen the beginning of of the prologue.  This
+/* Make a note that we've seen the beginning of the prologue.  This
    matters to whether we'll translate register numbers as calculated by
    mmix_machine_dependent_reorg.  */
 
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 171e557b0febfa0d53006e6dc94f1e0b461c39d8..666c6afb0c425d15c258517745fab199165a426b 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -7389,7 +7389,7 @@ print_operand (file, x, code)
 
     case 'G':
       /* X is a constant integer.  If it is negative, print "m",
-	 otherwise print "z".  This is to make a aze or ame insn.  */
+	 otherwise print "z".  This is to make an aze or ame insn.  */
       if (GET_CODE (x) != CONST_INT)
 	output_operand_lossage ("invalid %%G value");
       else if (INTVAL (x) >= 0)
diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md
index f0408efd2aaf2739c27171c1a0f2526a6e88fa04..b23766474cfdebf29ca034f47aa0832646bb646a 100644
--- a/gcc/config/sh/sh.md
+++ b/gcc/config/sh/sh.md
@@ -1955,7 +1955,7 @@
   "and	%2,%0"
   [(set_attr "type" "arith")])
 
-;; If the constant is 255, then emit a extu.b instruction instead of an
+;; If the constant is 255, then emit an extu.b instruction instead of an
 ;; and, since that will give better code.
 
 (define_expand "andsi3"
diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c
index bbc5a45c3eb7854291e394fb24a9162716f7530f..47a6f00c25eaf7e207bc5afce926b5a66e936fe0 100644
--- a/gcc/genattrtab.c
+++ b/gcc/genattrtab.c
@@ -1838,7 +1838,7 @@ operate_exp (op, left, right)
    The first produces a function `function_units_used' which is given an
    insn and produces an encoding showing which function units are required
    for the execution of that insn.  If the value is non-negative, the insn
-   uses that unit; otherwise, the value is a one's compliment mask of units
+   uses that unit; otherwise, the value is a one's complement mask of units
    used.
 
    The second produces a function `result_ready_cost' which is used to
@@ -2246,7 +2246,7 @@ simplify_knowing (exp, known_true)
 /* Translate the CONST_STRING expressions in X to change the encoding of
    value.  On input, the value is a bitmask with a one bit for each unit
    used; on output, the value is the unit number (zero based) if one
-   and only one unit is used or the one's compliment of the bitmask.  */
+   and only one unit is used or the one's complement of the bitmask.  */
 
 static rtx
 encode_units_mask (x)
@@ -2264,7 +2264,7 @@ encode_units_mask (x)
     case CONST_STRING:
       i = atoi (XSTR (x, 0));
       if (i < 0)
-	/* The sign bit encodes a one's compliment mask.  */
+	/* The sign bit encodes a one's complement mask.  */
 	abort ();
       else if (i != 0 && i == (i & -i))
 	/* Only one bit is set, so yield that unit number.  */
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c
index c5eb4d6ab9a11d9d29045cb2c439dfa00358d87a..c253f2cede1231f70bd278e5aaeb30c533f227eb 100644
--- a/gcc/haifa-sched.c
+++ b/gcc/haifa-sched.c
@@ -389,7 +389,7 @@ static rtx last_scheduled_insn;
 
 /* Compute the function units used by INSN.  This caches the value
    returned by function_units_used.  A function unit is encoded as the
-   unit number if the value is non-negative and the compliment of a
+   unit number if the value is non-negative and the complement of a
    mask if the value is negative.  A function unit index is the
    non-negative encoding.  The scheduler using only DFA description
    should never use the following function.  */
diff --git a/gcc/real.c b/gcc/real.c
index 0d8547b9c7da48255028366976b33976bc2d246a..78324f6868eb51eda7753944dd93a5b3dd8e8cd6 100644
--- a/gcc/real.c
+++ b/gcc/real.c
@@ -3739,7 +3739,7 @@ const struct real_format i370_double_format =
     false
   };
 
-/* The "twos-compliment" c4x format is officially defined as
+/* The "twos-complement" c4x format is officially defined as
 
 	x = s(~s).f * 2**e
 
diff --git a/gcc/tree.h b/gcc/tree.h
index e9647816378f1e633d891b155eba467e0afd3b7d..1c16c83dbe4f2c5a4eead5156edef1597013f0c7 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -1826,7 +1826,7 @@ struct tree_decl GTY(())
     /* In a FUNCTION_DECL for which DECL_BUILT_IN holds, this is
        DECL_FUNCTION_CODE.  */
     enum built_in_function f;
-    /* In a FUNCITON_DECL for which DECL_BUILT_IN does not hold, this
+    /* In a FUNCTION_DECL for which DECL_BUILT_IN does not hold, this
        is used by language-dependent code.  */
     HOST_WIDE_INT i;
     /* DECL_ALIGN and DECL_OFFSET_ALIGN.  (These are not used for