c-pretty-print.c: Fix comment typos.
authorKazu Hirata <kazu@cs.umass.edu>
Sun, 5 Oct 2003 19:50:56 +0000 (19:50 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Sun, 5 Oct 2003 19:50:56 +0000 (19:50 +0000)
* c-pretty-print.c: Fix comment typos.
* c-pretty-print.h: Likewise.
* calls.c: Likewise.
* cfgloopmanip.c: Likewise.
* cgraphunit.c: Likewise.
* cppfiles.c: Likewise.
* final.c: Likewise.
* function.c: Likewise.
* gcov-io.h: Likewise.
* gcse.c: Likewise.
* genoutput.c: Likewise.
* loop.c: Likewise.
* postreload.c: Likewise.
* reg-stack.c: Likewise.
* regmove.c: Likewise.
* sched-int.h: Likewise.
* sched-rgn.c: Likewise.
* simplify-rtx.c: Likewise.
* tree-inline.c: Likewise.
* config/m68hc11/m68hc11.h: Likewise.
* config/mmix/mmix.c: Likewise.
* config/mn10300/mn10300.md: Likewise.
* config/sh/sh.h: Likewise.

From-SVN: r72118

24 files changed:
gcc/ChangeLog
gcc/c-pretty-print.c
gcc/c-pretty-print.h
gcc/calls.c
gcc/cfgloopmanip.c
gcc/cgraphunit.c
gcc/config/m68hc11/m68hc11.h
gcc/config/mmix/mmix.c
gcc/config/mn10300/mn10300.md
gcc/config/sh/sh.h
gcc/cppfiles.c
gcc/final.c
gcc/function.c
gcc/gcov-io.h
gcc/gcse.c
gcc/genoutput.c
gcc/loop.c
gcc/postreload.c
gcc/reg-stack.c
gcc/regmove.c
gcc/sched-int.h
gcc/sched-rgn.c
gcc/simplify-rtx.c
gcc/tree-inline.c

index e8dfbb5a76d252340c87aa55cccc8ca6949b4a46..0dd3d1f0f1f9540c6e42c69828f9d600f35725f9 100644 (file)
@@ -1,3 +1,29 @@
+2003-10-05  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * c-pretty-print.c: Fix comment typos.
+       * c-pretty-print.h: Likewise.
+       * calls.c: Likewise.
+       * cfgloopmanip.c: Likewise.
+       * cgraphunit.c: Likewise.
+       * cppfiles.c: Likewise.
+       * final.c: Likewise.
+       * function.c: Likewise.
+       * gcov-io.h: Likewise.
+       * gcse.c: Likewise.
+       * genoutput.c: Likewise.
+       * loop.c: Likewise.
+       * postreload.c: Likewise.
+       * reg-stack.c: Likewise.
+       * regmove.c: Likewise.
+       * sched-int.h: Likewise.
+       * sched-rgn.c: Likewise.
+       * simplify-rtx.c: Likewise.
+       * tree-inline.c: Likewise.
+       * config/m68hc11/m68hc11.h: Likewise.
+       * config/mmix/mmix.c: Likewise.
+       * config/mn10300/mn10300.md: Likewise.
+       * config/sh/sh.h: Likewise.
+
 2003-10-05  Richard Henderson  <rth@redhat.com>
 
        * tree-inline.c (remap_type): New.
index 9297712e2ac9f3763c2d4f28017dda1b876dbc21..4a006b22f4256f6ea6260821940b83adfca64f9f 100644 (file)
@@ -538,7 +538,7 @@ pp_c_declaration_specifiers (c_pretty_printer *pp, tree t)
       ( declarator )
       direct-declarator [ type-qualifier-list(opt) assignment-expression(opt) ]
       direct-declarator [ static type-qualifier-list(opt) assignment-expression(opt)]
-      direct-declarator [ type-qualifier-list static assignment-exression ]
+      direct-declarator [ type-qualifier-list static assignment-expression ]
       direct-declarator [ type-qualifier-list * ]
       direct-declaratpr ( parameter-type-list )
       direct-declarator ( identifier-list(opt) )  */
@@ -884,7 +884,7 @@ pp_c_compound_literal (c_pretty_printer *pp, tree e)
       integer-constant
       floating-constant
       enumeration-constant
-      chatracter-constant   */
+      character-constant   */
 
 void
 pp_c_constant (c_pretty_printer *pp, tree e)
index 26b3cae99c782724279cdbc631f6f1f7431c8136..39e0be77d2d9e38d6ad3d773506ee5dc16be3f9b 100644 (file)
@@ -46,7 +46,7 @@ typedef void (*c_pretty_print_fn) (c_pretty_printer *, tree);
    language using C/c++ syntax can derive from this datatype and reuse
    facilities provided here.  It can do so by having a subobject of type
    c_pretty_printer and override the macro pp_c_base to return a pointer
-   to that subobject.  Such a pretty-printer has the responsability to
+   to that subobject.  Such a pretty-printer has the responsibility to
    initialize the pp_base() part, then call pp_c_pretty_printer_init
    to set up the components that are specific to the C pretty-printer.
    A derived pretty-printer can override any function listed in the
index 8a3af33570e752c61eeaa8be29ef40384c5338f9..aa649801ec2e26e39689c3194774837027c865f1 100644 (file)
@@ -2353,7 +2353,7 @@ expand_call (tree exp, rtx target, int ignore)
 
   /* Start updating where the next arg would go.
 
-     On some machines (such as the PA) indirect calls have a difuferent
+     On some machines (such as the PA) indirect calls have a different
      calling convention than normal calls.  The last argument in
      INIT_CUMULATIVE_ARGS tells the backend if this is an indirect call
      or not.  */
index 26eb9fd6e3bf6e4c8b16ba814a6cc901139f91c9..de1210ce3f255b63ae58ab6d143480bc88c325d0 100644 (file)
@@ -645,7 +645,7 @@ unloop (struct loops *loops, struct loop *loop)
 }
 
 /* Fix placement of LOOP inside loop tree, i.e. find the innermost superloop
-   FATHER of LOOP such that all of the edges comming out of LOOP belong to
+   FATHER of LOOP such that all of the edges coming out of LOOP belong to
    FATHER, and set it as outer loop of LOOP.  Return 1 if placement of
    LOOP changed.  */
 int
index 15e3ebb8fcdedc3e19e66b6614ea5e875447c53c..5f89a587463db7a0baa788b69c0c7240539010b7 100644 (file)
@@ -106,7 +106,7 @@ decide_is_function_needed (struct cgraph_node *node, tree decl)
   /* "extern inline" functions are never output locally.  */
   if (DECL_EXTERNAL (decl))
     return false;
-  /* We want to emit COMDAT functions only when absolutely neccesary.  */
+  /* We want to emit COMDAT functions only when absolutely necessary.  */
   if (DECL_COMDAT (decl))
     return false;
   if (!DECL_INLINE (decl)
@@ -166,7 +166,7 @@ cgraph_finalize_function (tree decl, bool nested)
         inlined in others.
         
         ??? It may make more sense to use one body for inlining and other
-        body for expanding the function but this is dificult to do.  */
+        body for expanding the function but this is difficult to do.  */
 
       /* If node->output is set, then this is a unit-at-a-time compilation
         and we have already begun whole-unit analysis.  This is *not*
index 7c1c7f3e0fb5f15caf2715f782f05e4498840c96..7efa0029a49ce2af36069b0781534e6ae0f5281e 100644 (file)
@@ -968,7 +968,7 @@ extern enum reg_class m68hc11_tmp_regs_class;
    followed by "to".  Eliminations of the same "from" register are listed
    in order of preference.
 
-   We have two registers that are eliminated on the 6811. The psuedo arg
+   We have two registers that are eliminated on the 6811. The pseudo arg
    pointer and pseudo frame pointer registers can always be eliminated;
    they are replaced with either the stack or the real frame pointer.  */
 
index 1feebdd9ae9f650198b92fedf4efb7e67c732da9..764e9b8a31b6905209bae6cae28a92834662e81c 100644 (file)
@@ -62,7 +62,7 @@ Boston, MA 02111-1307, USA.  */
    (perhaps any insn).  But regs_ever_live is up-to-date when
    leaf_function_p () isn't, so we "or" them together to get accurate
    information.  FIXME: Some tweak to leaf_function_p might be
-   preferrable.  */
+   preferable.  */
 #define MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS                        \
  (flag_exceptions                                              \
   && ((reload_completed && regs_ever_live[MMIX_rJ_REGNUM])     \
index 8a0e69b56ded855fb7a41fbe3c5df5be8a6715e7..c9d9bb858032ee46b8a8fdeaf51a6b565e82626a 100644 (file)
 ;; but will have the proper effect on cc0.  Using d0 is arbitrary; any
 ;; data register would work.)
 
-;; Even though the first alternative would be preferrable if it can
+;; Even though the first alternative would be preferable if it can
 ;; possibly match, reload must not be given the opportunity to attempt
 ;; to use it.  It assumes that such matches can only occur when one of
 ;; the operands is used for input and the other for output.  Since
index fa9d7a17891fe91c7f8507c2b929a683044afa35..fdd29fb39c0f5713bdfde4419b3818c34a497467 100644 (file)
@@ -3213,7 +3213,7 @@ extern int rtx_equal_function_value_matters;
 #define MAX_FIXED_MODE_SIZE (TARGET_SH5 ? 128 : 64)
 
 /* ??? Define ACCUMULATE_OUTGOING_ARGS?  This is more efficient than pushing
-   and poping arguments.  However, we do have push/pop instructions, and
+   and popping arguments.  However, we do have push/pop instructions, and
    rather limited offsets (4 bits) in load/store instructions, so it isn't
    clear if this would give better code.  If implemented, should check for
    compatibility problems.  */
index e0eaca9239672790032a87e4508cde64000965ab..00834aadc4b275677b9e836b74a7f29bf4d1cb48 100644 (file)
@@ -643,7 +643,7 @@ _cpp_mark_file_once_only (cpp_reader *pfile, _cpp_file *file)
 }
 
 /* Return the directory from which searching for FNAME should start,
-   condiering the directive TYPE and ANGLE_BRACKETS.  If there is
+   considering the directive TYPE and ANGLE_BRACKETS.  If there is
    nothing left in the path, returns NULL.  */
 static struct cpp_dir *
 search_path_head (cpp_reader *pfile, const char *fname, int angle_brackets,
index 6ee13a604f8e67f3037343fc5c4be267f2ceb814..1938604c25d8a192d223c676413c773c652e7f7a 100644 (file)
@@ -2508,7 +2508,7 @@ cleanup_subreg_operands (rtx insn)
   extract_insn_cached (insn);
   for (i = 0; i < recog_data.n_operands; i++)
     {
-      /* The following test cannot use recog_data.operand when tesing
+      /* The following test cannot use recog_data.operand when testing
         for a SUBREG: the underlying object might have been changed
         already if we are inside a match_operator expression that
         matches the else clause.  Instead we test the underlying
index bd76c5cd1e10284d0dcded33da314a47b3db3d2f..0251fe3df159f29a00cfb87f90292ff19e1db5e7 100644 (file)
@@ -6342,7 +6342,7 @@ allocate_struct_function (tree fndecl)
 }
 
 /* Reset cfun, and other non-struct-function variables to defaults as
-   appropriate for emiiting rtl at the start of a function.  */
+   appropriate for emitting rtl at the start of a function.  */
 
 static void
 prepare_function_start (tree fndecl)
index 59b202bc0a4e4a7fe10b86ceebbea1f9131c8018..e1506baca07b70e679785339416f108a8ba1d6cb 100644 (file)
@@ -148,7 +148,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
    program.  The checksum is used for whole program summaries, and
    disambiguates different programs which include the same
    instrumented object file.  There may be several program summaries,
-   each with a unique checksum.  The object summary's checkum is zero.
+   each with a unique checksum.  The object summary's checksum is zero.
    Note that the data file might contain information from several runs
    concatenated, or the data might be merged.
 
index 8e78e5b08e64783da833bf7b501ba45c49d8820d..84524b37d198005b46695ac4e7d847b9ec1e9be6 100644 (file)
@@ -5360,7 +5360,7 @@ pre_edge_insert (struct edge_list *edge_list, struct expr **index_map)
      reaching_reg <- expr
      old_reg      <- reaching_reg
    because this way copy propagation can discover additional PRE
-   opportunuties.  But if this fails, we try the old way.  */
+   opportunities.  But if this fails, we try the old way.  */
 
 static void
 pre_insert_copy_insn (struct expr *expr, rtx insn)
index 74725fa57b312388b8741e8c5954762a9d2da2e3..6a2e0244491c68e9fa68604adadf33727333a4bd 100644 (file)
@@ -1048,7 +1048,7 @@ constraint_len (const char *p, int genoutput_default_constraint_len)
      check that fails if the value is not the expected one...  */
   if (DEFAULT_CONSTRAINT_LEN (*p, p) != 1)
     abort ();
-  /* And now a comile-time check that should give a diagnostic if the
+  /* And now a compile-time check that should give a diagnostic if the
      definition doesn't exactly match.  */
 #define DEFAULT_CONSTRAINT_LEN(C,STR) 1
   /* Now re-define DEFAULT_CONSTRAINT_LEN so that we can verify it is
index 9d41e071d1f7c01f1ed47596f566bbe96aed6e58..c5b40608142d433e6324ac4c85cbf96508e1d613 100644 (file)
@@ -6665,7 +6665,7 @@ simplify_giv_expr (const struct loop *loop, rtx x, rtx *ext_val, int *benefit)
                                                                    arg1)),
                                        ext_val, benefit);
            }
-         /* Propagate the MULT expressions to the intermost nodes.  */
+         /* Propagate the MULT expressions to the innermost nodes.  */
          else if (GET_CODE (arg0) == PLUS)
            {
              /* (invar_0 + invar_1) * invar_2.  Distribute.  */
index 2875dbdffd0e51afea7fd4c1d333dc7b4fee35c2..f5a987a7f0dfe0cb71afb262092e43ba154e4b2b 100644 (file)
@@ -757,7 +757,7 @@ reload_combine (void)
          else
            {
              /* Otherwise, look for a free index register.  Since we have
-                checked above that neiter REG nor BASE are index registers,
+                checked above that neither REG nor BASE are index registers,
                 if we find anything at all, it will be different from these
                 two registers.  */
              for (i = first_index_reg; i <= last_index_reg; i++)
index f432cf1b54d273a86e95455aeee7df4ae3622a3a..e1833bce85ad08e8b5dac9b32860edb4bf38ad17 100644 (file)
@@ -2837,7 +2837,7 @@ convert_regs_2 (FILE *file, basic_block block)
         some dead EH outgoing edge after the possible deletion of the
         trapping insn inside the block.  Since the number of predecessors of
         "block"'s successors has been computed based on the initial edge set,
-        we check for the possiblity to process some of these successors
+        we check for the possibility to process some of these successors
         before such an edge deletion may happen.  */
       for (e = block->succ; e ; e = e->succ_next)
        if (! (e->flags & EDGE_DFS_BACK))
index 9205e1f88bdeb9e95eb33b2bffa35b1b1eeef8db..8696d3a5ed15e9e3e751c384b287ac2fc89bfd27 100644 (file)
@@ -706,7 +706,7 @@ optimize_reg_copy_3 (rtx insn, rtx dest, rtx src)
       if (! INSN_P (p))
        continue;
 
-      /* Make a tenative change.  */
+      /* Make a tentative change.  */
       validate_replace_rtx_group (src_reg, subreg, p);
     }
 
index 8c3a4056342a83d577a1b15ba3ac655c6f7b2374..061ebe419bd48cbf8f6b3ff1cb5757635185fa22 100644 (file)
@@ -82,7 +82,7 @@ struct deps
      scheduling is done.  */
   rtx sched_before_next_call;
 
-  /* Used to keep post-call psuedo/hard reg movements together with
+  /* Used to keep post-call pseudo/hard reg movements together with
      the call.  */
   bool in_post_call_group_p;
 
index f3444ec89913579ab1a52acdebd7522173f85490..f921061deae453d9881de3e4f0e794a3d11f68b7 100644 (file)
@@ -1340,7 +1340,7 @@ check_live_1 (int src, rtx x)
        }
       else
        {
-         /* Check for psuedo registers.  */
+         /* Check for pseudo registers.  */
          for (i = 0; i < candidate_table[src].split_bbs.nr_members; i++)
            {
              int b = candidate_table[src].split_bbs.first_member[i];
index 3e0bdbfa27a0c6d2a2e5a2bc42edbf869c0641dc..0e8646313b1c1d8ffaf27230e24071734bd900ca 100644 (file)
@@ -778,7 +778,7 @@ simplify_unary_operation (enum rtx_code code, enum machine_mode mode,
           && width <= 2*HOST_BITS_PER_WIDE_INT && width > 0)
     {
       /* Although the overflow semantics of RTL's FIX and UNSIGNED_FIX
-        operators are intentionally left unspecified (to ease implemention
+        operators are intentionally left unspecified (to ease implementation
         by target backends), for consistency, this routine implements the
         same semantics for constant folding as used by the middle-end.  */
 
index 0696c4060a4cdaef1d1ed4427ab90aa77dd3b1db..375a5702291b316e37e9960c44341dd68f6d2bcc 100644 (file)
@@ -1944,7 +1944,7 @@ walk_tree (tree *tp, walk_tree_fn func, void *data, void *htab_)
     case BLOCK:
     case RECORD_TYPE:
     case CHAR_TYPE:
-      /* None of thse have subtrees other than those already walked
+      /* None of these have subtrees other than those already walked
          above.  */
       break;