c-pretty-print.h: Fix comment typos.
authorKazu Hirata <kazu@cs.umass.edu>
Fri, 20 Dec 2002 04:30:57 +0000 (04:30 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Fri, 20 Dec 2002 04:30:57 +0000 (04:30 +0000)
* c-pretty-print.h: Fix comment typos.
* integrate.c: Likewise.
* varasm.c: Likewise.
* config/c4x/c4x.h: Likewise.
* config/c4x/c4x.md: Likewise.
* config/fr30/fr30.md: Likewise.
* config/frv/frv.c: Likewise.
* config/h8300/h8300.c: Likewise.
* config/i386/i386.c: Likewise.
* config/i386/i386.h: Likewise.
* config/ia64/ia64.c: Likewise.
* config/ia64/ia64.h: Likewise.
* config/ip2k/ip2k.md: Likewise.
* config/m68hc11/m68hc11-crt0.S: Likewise.
* config/m68hc11/m68hc11.h: Likewise.
* config/m68hc11/m68hc11.md: Likewise.
* config/m68hc11/m68hc12.h: Likewise.
* config/mcore/mcore.md: Likewise.
* config/mips/mips.c: Likewise.
* config/mips/mips.md: Likewise.
* config/mmix/mmix-modes.def: Likewise.
* config/pa/pa.c: Likewise.
* config/rs6000/rs6000.c: Likewise.
* config/rs6000/rs6000.h: Likewise.
* config/rs6000/rs6000.md: Likewise.

From-SVN: r60354

27 files changed:
gcc/ChangeLog
gcc/c-pretty-print.h
gcc/config/c4x/c4x.h
gcc/config/c4x/c4x.md
gcc/config/fr30/fr30.md
gcc/config/frv/frv.c
gcc/config/h8300/h8300.c
gcc/config/i386/i386.c
gcc/config/i386/i386.h
gcc/config/i386/i386.md
gcc/config/ia64/ia64.c
gcc/config/ia64/ia64.h
gcc/config/ip2k/ip2k.md
gcc/config/m68hc11/m68hc11-crt0.S
gcc/config/m68hc11/m68hc11.h
gcc/config/m68hc11/m68hc11.md
gcc/config/m68hc11/m68hc12.h
gcc/config/mcore/mcore.md
gcc/config/mips/mips.c
gcc/config/mips/mips.md
gcc/config/mmix/mmix-modes.def
gcc/config/pa/pa.c
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.h
gcc/config/rs6000/rs6000.md
gcc/integrate.c
gcc/varasm.c

index 209e12f..65ba259 100644 (file)
@@ -1,5 +1,33 @@
 2002-12-19  Kazu Hirata  <kazu@cs.umass.edu>
 
+       * c-pretty-print.h: Fix comment typos.
+       * integrate.c: Likewise.
+       * varasm.c: Likewise.
+       * config/c4x/c4x.h: Likewise.
+       * config/c4x/c4x.md: Likewise.
+       * config/fr30/fr30.md: Likewise.
+       * config/frv/frv.c: Likewise.
+       * config/h8300/h8300.c: Likewise.
+       * config/i386/i386.c: Likewise.
+       * config/i386/i386.h: Likewise.
+       * config/ia64/ia64.c: Likewise.
+       * config/ia64/ia64.h: Likewise.
+       * config/ip2k/ip2k.md: Likewise.
+       * config/m68hc11/m68hc11-crt0.S: Likewise.
+       * config/m68hc11/m68hc11.h: Likewise.
+       * config/m68hc11/m68hc11.md: Likewise.
+       * config/m68hc11/m68hc12.h: Likewise.
+       * config/mcore/mcore.md: Likewise.
+       * config/mips/mips.c: Likewise.
+       * config/mips/mips.md: Likewise.
+       * config/mmix/mmix-modes.def: Likewise.
+       * config/pa/pa.c: Likewise.
+       * config/rs6000/rs6000.c: Likewise.
+       * config/rs6000/rs6000.h: Likewise.
+       * config/rs6000/rs6000.md: Likewise.
+
+2002-12-19  Kazu Hirata  <kazu@cs.umass.edu>
+
        * config/h8300/h8300.md (output_a_shift): Clean up the code to
        output shifts using rotation.
 
index 0ab702e..013ab6f 100644 (file)
@@ -41,7 +41,7 @@ struct c_pretty_print_info
      Not used yet.  */
   int *offset_list;
 
-  /* These must be overriden by each of the C and C++ front-end to
+  /* These must be overridden by each of the C and C++ front-end to
      reflect their understanding of syntatic productions when they differ.  */
   c_pretty_print_fn declaration;
   c_pretty_print_fn declaration_specifiers;
@@ -141,7 +141,7 @@ struct c_pretty_print_info
 
 
 /* Returns the c_pretty_printer base object of PRETTY-PRINTER.  This
-   macro must be overriden by any subclass of c_pretty_print_info.  */
+   macro must be overridden by any subclass of c_pretty_print_info.  */
 #define pp_c_base(PP)  (PP)
 
 extern void pp_c_pretty_printer_init   PARAMS ((c_pretty_printer));
index 576aaff..e75769b 100644 (file)
@@ -1334,7 +1334,7 @@ CUMULATIVE_ARGS;
 
 #ifndef REG_OK_STRICT
 
-/* Nonzero if X is a hard or pseudo reg that can be used as an base.  */
+/* Nonzero if X is a hard or pseudo reg that can be used as a base.  */
 
 #define REG_OK_FOR_BASE_P(X) IS_ADDR_OR_PSEUDO_REG(X)
 
index 2d52082..68d933b 100644 (file)
 ;  a new spill register.
 
 ;  Note that the floating point representation of 0.0 on the C4x
-;  is 0x80000000 (-2147483648).  This value produces an warning
+;  is 0x80000000 (-2147483648).  This value produces a warning
 ;  message on 32-bit machines about the decimal constant being so large
 ;  that it is unsigned.
 
index 8ba00cc..6d2a291 100644 (file)
@@ -36,7 +36,7 @@
 ;; Define an attribute to be used by the delay slot code.
 ;; An instruction by default is considered to be 'delyabable'
 ;; that is, it can be placed into a delay slot, but it is not
-;; itself an delyaed branch type instruction.  An instruction
+;; itself a delyaed branch type instruction.  An instruction
 ;; whoes type is 'delayed' is one which has a delay slot, and
 ;; an instruction whoes delay_type is 'other' is one which does
 ;; not have a delay slot, nor can it be placed into a delay slot.
index aa29d24..f1ad90b 100644 (file)
@@ -1061,7 +1061,7 @@ frv_stack_info ()
        case STACK_REGS_STDARG:
          if (varargs_p)
            {
-             /* If this is a stdarg function with an non varardic argument split
+             /* If this is a stdarg function with a non varardic argument split
                 between registers and the stack, adjust the saved registers
                 downward */
              last -= (ADDR_ALIGN (cfun->pretend_args_size, UNITS_PER_WORD)
@@ -4791,7 +4791,7 @@ call_operand (op, mode)
   return gpr_or_int12_operand (op, mode);
 }
 
-/* Return true if operator is an kind of relational operator */
+/* Return true if operator is a kind of relational operator.  */
 
 int
 relational_operator (op, mode)
index ab2cc15..a01db55 100644 (file)
@@ -667,7 +667,7 @@ h8300_output_function_epilogue (file, size)
     }
 
   /* Monitor epilogues are the same as interrupt function epilogues.
-     Just make a note that we're in an monitor epilogue.  */
+     Just make a note that we're in a monitor epilogue.  */
   if (monitor)
     fprintf (file, ";monitor epilogue\n");
 
index 4ebf16b..7823328 100644 (file)
@@ -2414,7 +2414,7 @@ function_arg (cum, mode, type, named)
     (mode == BLKmode) ? int_size_in_bytes (type) : (int) GET_MODE_SIZE (mode);
   int words = (bytes + UNITS_PER_WORD - 1) / UNITS_PER_WORD;
 
-  /* Handle an hidden AL argument containing number of registers for varargs
+  /* Handle a hidden AL argument containing number of registers for varargs
      x86-64 functions.  For i386 ABI just return constm1_rtx to avoid
      any AL settings.  */
   if (mode == VOIDmode)
@@ -8619,7 +8619,7 @@ ix86_fp_comparison_codes (code, bypass_code, first_code, second_code)
 }
 
 /* Return cost of comparison done fcom + arithmetics operations on AX.
-   All following functions do use number of instructions as an cost metrics.
+   All following functions do use number of instructions as a cost metrics.
    In future this should be tweaked to compute bytes for optimize_size and
    take into account performance of various instructions on various CPUs.  */
 static int
index 964237d..b05e7ed 100644 (file)
@@ -891,7 +891,7 @@ extern int x86_prefetch_sse;
    and are not available for the register allocator.
    On the 80386, the stack pointer is such, as is the arg pointer.
 
-   The value is an mask - bit 1 is set for fixed registers
+   The value is a mask - bit 1 is set for fixed registers
    for 32bit target, while 2 is set for fixed registers for 64bit.
    Proper value is computed in the CONDITIONAL_REGISTER_USAGE.
  */
@@ -917,7 +917,7 @@ extern int x86_prefetch_sse;
    and the register where structure-value addresses are passed.
    Aside from that, you can include as many other registers as you like.
 
-   The value is an mask - bit 1 is set for call used
+   The value is a mask - bit 1 is set for call used
    for 32bit target, while 2 is set for call used for 64bit.
    Proper value is computed in the CONDITIONAL_REGISTER_USAGE.
 */
index d625f58..16a5207 100644 (file)
       if (! rtx_equal_p (operands[0], operands[1]))
        abort ();
       /* ???? We ought to handle there the 32bit case too
-        - do we need new constrant?  */
+        - do we need new constraint?  */
       /* Make things pretty and `subl $4,%eax' rather than `addl $-4, %eax'.
         Exceptions: -128 encodes smaller than 128, so swap sign and op.  */
       if (GET_CODE (operands[2]) == CONST_INT
       if (! rtx_equal_p (operands[0], operands[1]))
        abort ();
       /* ???? We ought to handle there the 32bit case too
-        - do we need new constrant?  */
+        - do we need new constraint?  */
       /* Make things pretty and `subl $4,%eax' rather than `addl $-4, %eax'.
         Exceptions: -128 encodes smaller than 128, so swap sign and op.  */
       if (GET_CODE (operands[2]) == CONST_INT
index 96e12b4..3009d1c 100644 (file)
@@ -795,7 +795,7 @@ not_postinc_memory_operand (op, mode)
          && GET_RTX_CLASS (GET_CODE (XEXP (op, 0))) != 'a');
 }
 
-/* Return 1 if this is a comparison operator, which accepts an normal 8-bit
+/* Return 1 if this is a comparison operator, which accepts a normal 8-bit
    signed immediate operand.  */
 
 int
@@ -5126,7 +5126,7 @@ safe_group_barrier_needed_p (insn)
   return t;
 }
 
-/* INSNS is an chain of instructions.  Scan the chain, and insert stop bits
+/* INSNS is a chain of instructions.  Scan the chain, and insert stop bits
    as necessary to eliminate dependendencies.  This function assumes that
    a final instruction scheduling pass has been run which has already
    inserted most of the necessary stop bits.  This function only inserts
index 3cfc061..091510c 100644 (file)
@@ -277,7 +277,7 @@ extern const char *ia64_tls_size_string;
 
 /* A C expression whose value is zero if pointers that need to be extended
    from being `POINTER_SIZE' bits wide to `Pmode' are sign-extended and one if
-   they are zero-extended and negative one if there is an ptr_extend operation.
+   they are zero-extended and negative one if there is a ptr_extend operation.
 
    You need not define this macro if the `POINTER_SIZE' is equal to the width
    of `Pmode'.  */
index 3fa272e..f29d05a 100644 (file)
 
 ;; Nop instruction.
 ;;
-;; We don't really want nops to appear in our code so just insert an comment.
+;; We don't really want nops to appear in our code so just insert a comment.
 ;;
 (define_insn "nop"
   [(const_int 0)]
index 9351ee6..5cd7384 100644 (file)
@@ -74,7 +74,7 @@ _start:
        .sect   .install2,"ax",@progbits
 ;;
 ;; Call a specific initialization operation.  The default is empty.
-;; It can be overriden by applications.  It is intended to initialize
+;; It can be overridden by applications.  It is intended to initialize
 ;; the 68hc11 registers.  Function prototype is:
 ;; 
 ;;     int __premain(void);
index 393ab7b..6911b41 100644 (file)
@@ -47,7 +47,7 @@ Note:
 #endif
 
 /* We need to tell the linker the target elf format.  Just pass an
-   emulation option.  This can be overriden by -Wl option of gcc.  */
+   emulation option.  This can be overridden by -Wl option of gcc.  */
 #ifndef LINK_SPEC
 #define LINK_SPEC      "%{m68hc12:-m m68hc12elf}%{!m68hc12:-m m68hc11elf} %{mrelax:-relax}"
 #endif
index beeded3..db1a892 100644 (file)
 
 ;;;
 ;;; Catch an xgdx/xgdy followed by a (set D X/Y). If X/Y is dead, we don't
-;;; need to emit anything. Otherwise, we just need an copy of D to X/Y.
+;;; need to emit anything. Otherwise, we just need a copy of D to X/Y.
 ;;;
 (define_peephole
   [(parallel [(set (reg:HI D_REGNUM) (match_operand:HI 0 "hard_reg_operand" "A"))
 
 ;;;
 ;;; Catch an xgdx/xgdy followed by a (set D X/Y). If X/Y is dead, we don't
-;;; need to emit anything. Otherwise, we just need an copy of D to X/Y.
+;;; need to emit anything. Otherwise, we just need a copy of D to X/Y.
 ;;;
 (define_peephole
   [(parallel [(set (reg:HI D_REGNUM) (match_operand:HI 0 "hard_reg_operand" "A"))
index ba56c17..a9f09dd 100644 (file)
@@ -25,7 +25,7 @@ Boston, MA 02111-1307, USA.  */
 #define CC1_SPEC       ""
 
 /* We need to tell the linker the target elf format.  Just pass an
-   emulation option.  This can be overriden by -Wl option of gcc.  */
+   emulation option.  This can be overridden by -Wl option of gcc.  */
 #define LINK_SPEC      "%{m68hc11:-m m68hc11elf}%{!m68hc11:-m m68hc12elf}"
 
 #define CPP_SPEC  \
index fe71e37..dd1c614 100644 (file)
 ;; ;    This is done to allow bit field masks to fold together in combine.
 ;; ;    The reload phase will force the immediate into a register at the
 ;; ;    very end.  This helps in some cases, but hurts in others: we'd
-;; ;    really like to cse these immediates.  However, there is an phase
+;; ;    really like to cse these immediates.  However, there is a phase
 ;; ;    ordering problem here.  cse picks up individual masks and cse's
 ;; ;    those, but not folded masks (cse happens before combine).  It's
 ;; ;    not clear what the best solution is because we really want cse
index f8f3cb6..6fb7eb4 100644 (file)
@@ -5688,7 +5688,7 @@ mips_debugger_offset (addr, offset)
    '^' Print the name of the pic call-through register (t9 or $25).
    '$' Print the name of the stack pointer register (sp or $29).
    '+' Print the name of the gp register (gp or $28).
-   '~' Output an branch alignment to LABEL_ALIGN(NULL).  */
+   '~' Output a branch alignment to LABEL_ALIGN(NULL).  */
 
 void
 print_operand (file, op, letter)
index 0edd32e..3d2d617 100644 (file)
                               (const_int 8))
                 (const_int 4)])])
 
-;; On the mips16, we can sometimes split an subtract of a constant
+;; On the mips16, we can sometimes split a subtract of a constant
 ;; which is a 4 byte instruction into two adds which are both 2 byte
 ;; instructions.  There are two cases: one where we are setting a
 ;; register to a register minus a constant, and one where we are
index 27cf3f8..001a04d 100644 (file)
@@ -34,7 +34,7 @@ Boston, MA 02111-1307, USA.  */
    the CMPU insn.  Result values correspond to those in CCmode.  */
 CC (CC_UNS)
 
-/* The CC_FP mode is for an non-equality floating-point comparison, using
+/* The CC_FP mode is for a non-equality floating-point comparison, using
    the FCMP or FCMPE insn.  The result is (integer) -1 or 1 for
    espectively a < b and a > b, otherwise 0.  */
 CC (CC_FP)
index 7ba4f7b..cd52977 100644 (file)
@@ -1458,7 +1458,7 @@ emit_move_sequence (operands, mode, scratch_reg)
      use scratch_reg to hold the address of the memory location.
 
      The proper fix is to change PREFERRED_RELOAD_CLASS to return
-     NO_REGS when presented with a const_int and an register class
+     NO_REGS when presented with a const_int and a register class
      containing only FP registers.  Doing so unfortunately creates
      more problems than it solves.   Fix this for 2.5.  */
   else if (fp_reg_operand (operand0, mode)
@@ -4300,7 +4300,7 @@ print_operand (file, x, code)
        fputs ("\n\tnop", file);
       return;
     case '*':
-      /* Output an nullification completer if there's nothing for the */
+      /* Output a nullification completer if there's nothing for the */
       /* delay slot or nullification is requested.  */
       if (dbr_sequence_length () == 0 ||
          (final_sequence &&
@@ -5428,7 +5428,7 @@ output_cbranch (operands, nullify, length, negated, insn)
          strcat (buf, " %2,%r1,%0");
        break;
 
-     /* All long conditionals.  Note an short backward branch with an
+     /* All long conditionals.  Note a short backward branch with an
        unfilled delay slot is treated just like a long backward branch
        with an unfilled delay slot.  */
       case 8:
@@ -5650,7 +5650,7 @@ output_bb (operands, nullify, length, negated, insn, which)
          strcat (buf, " %0,%1,%2");
        break;
 
-     /* All long conditionals.  Note an short backward branch with an
+     /* All long conditionals.  Note a short backward branch with an
        unfilled delay slot is treated just like a long backward branch
        with an unfilled delay slot.  */
       case 8:
@@ -5798,7 +5798,7 @@ output_bvb (operands, nullify, length, negated, insn, which)
          strcat (buf, "{ %0,%2| %0,%%sar,%2}");
        break;
 
-     /* All long conditionals.  Note an short backward branch with an
+     /* All long conditionals.  Note a short backward branch with an
        unfilled delay slot is treated just like a long backward branch
        with an unfilled delay slot.  */
       case 8:
index 27069b6..6ca0209 100644 (file)
@@ -2349,7 +2349,7 @@ rs6000_legitimize_reload_address (x, mode, opnum, type, ind_levels, win)
    refers to a constant pool entry of an address (or the sum of it
    plus a constant), a short (16-bit signed) constant plus a register,
    the sum of two registers, or a register indirect, possibly with an
-   auto-increment.  For DFmode and DImode with an constant plus register,
+   auto-increment.  For DFmode and DImode with a constant plus register,
    we must ensure that both words are addressable or PowerPC64 with offset
    word aligned.
 
index 9bb6373..27954f2 100644 (file)
@@ -2021,7 +2021,7 @@ typedef struct rs6000_args
    refers to a constant pool entry of an address (or the sum of it
    plus a constant), a short (16-bit signed) constant plus a register,
    the sum of two registers, or a register indirect, possibly with an
-   auto-increment.  For DFmode and DImode with an constant plus register,
+   auto-increment.  For DFmode and DImode with a constant plus register,
    we must ensure that both words are addressable or PowerPC64 with offset
    word aligned.
 
index acd5c47..85d9182 100644 (file)
                    (const_int 0)))]
   "")
 
-;; Split an logical operation that we can't do in one insn into two insns, 
+;; Split a logical operation that we can't do in one insn into two insns, 
 ;; each of which does one 16-bit part.  This is used by combine.
 
 (define_split
                    (const_int 0)))]
   "")
 
-;; Split an logical operation that we can't do in one insn into two insns, 
+;; Split a logical operation that we can't do in one insn into two insns, 
 ;; each of which does one 16-bit part.  This is used by combine.
 
 (define_split
index 355cac3..eace82a 100644 (file)
@@ -264,7 +264,7 @@ function_cannot_inline_p (fndecl)
     }
 
   /* If the function has a target specific attribute attached to it,
-     then we assume that we should not inline it.  This can be overriden
+     then we assume that we should not inline it.  This can be overridden
      by the target if it defines TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P.  */
   if (!function_attribute_inlinable_p (fndecl))
     return N_("function with target specific attribute(s) cannot be inlined");
index b0d5f83..ffa653b 100644 (file)
@@ -5418,7 +5418,7 @@ default_binds_local_p_1 (exp, shlib)
 }
 
 /* Determine whether or not a pointer mode is valid. Assume defaults
-   of ptr_mode or Pmode - can be overriden.  */
+   of ptr_mode or Pmode - can be overridden.  */
 bool
 default_valid_pointer_mode (mode)
      enum machine_mode mode;