et-forest.c: Fix comment typos.
authorKazu Hirata <kazu@cs.umass.edu>
Fri, 17 Jan 2003 14:24:24 +0000 (14:24 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Fri, 17 Jan 2003 14:24:24 +0000 (14:24 +0000)
* et-forest.c: Fix comment typos.
* et-forest.h: Likewise.
* except.c: Likewise.
* expr.c: Likewise.
* flags.h: Likewise.
* flow.c: Likewise.
* gcc.c: Likewise.
* gcse.c: Likewise.
* genattrtab.c: Likewise.
* genautomata.c: Likewise.
* gengtype.c: Likewise.
* genrecog.c: Likewise.
* global.c: Likewise.
* gthr-rtems.h: Likewise.

From-SVN: r61443

15 files changed:
gcc/ChangeLog
gcc/et-forest.c
gcc/et-forest.h
gcc/except.c
gcc/expr.c
gcc/flags.h
gcc/flow.c
gcc/gcc.c
gcc/gcse.c
gcc/genattrtab.c
gcc/genautomata.c
gcc/gengtype.c
gcc/genrecog.c
gcc/global.c
gcc/gthr-rtems.h

index c845744fbb6d44e240de68f7d0ad6b460c22b814..6a5d4f5fc018e8fa4f42b47af7714e6e6dcd2a4e 100644 (file)
@@ -1,3 +1,20 @@
+2003-01-17  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * et-forest.c: Fix comment typos.
+       * et-forest.h: Likewise.
+       * except.c: Likewise.
+       * expr.c: Likewise.
+       * flags.h: Likewise.
+       * flow.c: Likewise.
+       * gcc.c: Likewise.
+       * gcse.c: Likewise.
+       * genattrtab.c: Likewise.
+       * genautomata.c: Likewise.
+       * gengtype.c: Likewise.
+       * genrecog.c: Likewise.
+       * global.c: Likewise.
+       * gthr-rtems.h: Likewise.
+
 2003-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * i386.c (x86_function_profiler): Fix format specifier.
index 99653cedd150018ebad155f77c41855e1ec05a59..b54f3f769b4f24bd076d5482d4bfed011a469613 100644 (file)
@@ -105,7 +105,7 @@ find_rightmost_node (occ)
 }
 
 
-/* Operation splay for splay tree structure representing ocuurences.  */
+/* Operation splay for splay tree structure representing occurrences.  */
 static et_forest_occurrence_t
 splay (node)
      et_forest_occurrence_t node;
@@ -337,7 +337,7 @@ splay (node)
   return node;
 }
 
-/* Remove all occurences of the given node before destroying the node.  */
+/* Remove all occurrences of the given node before destroying the node.  */
 static void
 remove_all_occurrences (forest, forest_node)
      et_forest_t forest;
@@ -371,7 +371,7 @@ remove_all_occurrences (forest, forest_node)
 
       prev_node = splay (find_rightmost_node (first->left));
       next_node = splay (find_leftmost_node (last->right));
-      /* prev_node and next_node are consecutive occurencies
+      /* prev_node and next_node are consecutive occurrences
         of the same node.  */
       if (prev_node->next != next_node)
        abort ();
@@ -487,7 +487,7 @@ et_forest_add_node (forest, value)
   return node;
 }
 
-/* Add new edge to the tree, return 1 if succesfull.
+/* Add new edge to the tree, return 1 if successful.
    0 indicates that creation of the edge will close the cycle in graph.  */
 int
 et_forest_add_edge (forest, parent_node, child_node)
@@ -545,7 +545,7 @@ et_forest_remove_node (forest, node)
   pool_free (forest->node_pool, node);
 }
 
-/* Remove edge from the tree, return 1 if sucesfull,
+/* Remove edge from the tree, return 1 if successful,
    0 indicates nonexisting edge.  */
 int
 et_forest_remove_edge (forest, parent_node, child_node)
@@ -672,7 +672,7 @@ et_forest_enumerate_sons (forest, node, array)
   et_forest_occurrence_t occ = node->first, stop = node->last, occ1;
 
   /* Parent is the rightmost node of the left successor.
-     Look for all occurences having no right succesor
+     Look for all occurrences having no right successor
      and lookup the sons.  */
   while (occ != stop)
     {
index 8f4290c1193e76ba7fac0312d9d6cf4d8c21d316..8ef8e30b49438a2cdd0e921edf213af4d1d25cc2 100644 (file)
@@ -18,7 +18,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 /* This package implements ET forest data structure. Each tree in 
    the structure maintains a tree structure and offers logarithmic time
    for tree operations (insertion and removal of nodes and edges) and
-   poly-logarithmic time for nearest common ancesto.
+   poly-logarithmic time for nearest common ancestor.
  
    ET tree strores its structue as a sequence of symbols obtained 
    by dfs(root)
index fc7907df70a35cd080d7d76fe8c13eb67015b033..16613c4deeac8f268f2ede33d0d59b56787e383e 100644 (file)
@@ -2693,7 +2693,7 @@ reachable_next_level (region, type_thrown, info)
       return RNL_MAYBE_CAUGHT;
 
     case ERT_CATCH:
-      /* Catch regions are handled by their controling try region.  */
+      /* Catch regions are handled by their controlling try region.  */
       return RNL_NOT_CAUGHT;
 
     case ERT_MUST_NOT_THROW:
index b1684b6df1bb8893007b13674a5d94d553e71a13..e3c457943bf735a58d33a526f901d10846cdf896 100644 (file)
@@ -6503,7 +6503,7 @@ expand_expr (exp, target, tmode, modifier)
 
 #ifdef MAX_INTEGER_COMPUTATION_MODE
   /* Only check stuff here if the mode we want is different from the mode
-     of the expression; if it's the same, check_max_integer_computiation_mode
+     of the expression; if it's the same, check_max_integer_computation_mode
      will handle it.  Do we really need to check this stuff at all?  */
 
   if (target
index 39ca5ea936e51187c02229592b818cbdc01df50f..e7923e8ac1fad32968816fdc3f51300a5322bb27 100644 (file)
@@ -560,7 +560,7 @@ extern int flag_instrument_function_entry_exit;
 /* Perform a peephole pass before sched2.  */
 extern int flag_peephole2;
 
-/* Try to guess branch probablities.  */
+/* Try to guess branch probabilities.  */
 extern int flag_guess_branch_prob;
 
 /* -fcheck-bounds causes gcc to generate array bounds checks.
@@ -676,7 +676,7 @@ extern int flag_signaling_nans;
   (MODE_HAS_INFINITIES (MODE) && !flag_finite_math_only)
 
 /* Like HONOR_NANS, but true if the given mode distinguishes between
-   postive and negative zero, and the sign of zero is important.  */
+   positive and negative zero, and the sign of zero is important.  */
 #define HONOR_SIGNED_ZEROS(MODE) \
   (MODE_HAS_SIGNED_ZEROS (MODE) && !flag_unsafe_math_optimizations)
 
index 81f1be101cfc203081d157593cf11a64ccd2210d..5e51818de0bd0a2916928a53953651e55633323e 100644 (file)
@@ -274,7 +274,7 @@ struct propagate_block_info
   /* Nonzero if the value of CC0 is live.  */
   int cc0_live;
 
-  /* Flags controling the set of information propagate_block collects.  */
+  /* Flags controlling the set of information propagate_block collects.  */
   int flags;
 };
 
@@ -1680,7 +1680,7 @@ propagate_one_insn (pbi, insn)
            }
 
          /* Similarly if INSN contains a LIBCALL note, remove the
-            dnagling REG_RETVAL note.  */
+            dangling REG_RETVAL note.  */
          note = find_reg_note (insn, REG_LIBCALL, NULL_RTX);
          if (note)
            {
@@ -4231,7 +4231,7 @@ dump_regset (r, outf)
     });
 }
 
-/* Print a human-reaable representation of R on the standard error
+/* Print a human-readable representation of R on the standard error
    stream.  This function is designed to be used from within the
    debugger.  */
 
index 8b27a0ac5793e5e0e13bea541f48688dbab8d964..7c22f925bf85ebefe2461df47f3b1100470d1870 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -2539,7 +2539,7 @@ enum path_prefix_priority
   PREFIX_PRIORITY_LAST
 };
 
-/* Add an entry for PREFIX in PLIST.  The PLIST is kept in assending
+/* Add an entry for PREFIX in PLIST.  The PLIST is kept in ascending
    order according to PRIORITY.  Within each PRIORITY, new entries are
    appended.
 
@@ -2735,7 +2735,7 @@ execute ()
     }
 
 #ifdef ENABLE_VALGRIND_CHECKING
-  /* Run the each command through valgrind.  To simplifiy prepending the
+  /* Run the each command through valgrind.  To simplify prepending the
      path to valgrind and the option "-q" (for quiet operation unless
      something triggers), we allocate a separate argv array.  */
 
index e8976cbe74d1439a9cf55261899097e74c10f3c0..3fdf47e97a5b1a4741573065fb50bef63220340b 100644 (file)
@@ -1260,7 +1260,7 @@ record_set_info (dest, setter, data)
 /* Scan the function and record each set of each pseudo-register.
 
    This is called once, at the start of the gcse pass.  See the comments for
-   `reg_set_table' for further documenation.  */
+   `reg_set_table' for further documentation.  */
 
 static void
 compute_sets (f)
@@ -1593,7 +1593,7 @@ hash_expr_1 (x, mode, do_not_record_p)
   const char *fmt;
 
   /* Used to turn recursion into iteration.  We can't rely on GCC's
-     tail-recursion eliminatio since we need to keep accumulating values
+     tail-recursion elimination since we need to keep accumulating values
      in HASH.  */
 
   if (x == 0)
@@ -3952,7 +3952,7 @@ try_replace_reg (from, to, insn)
 
   /* REG_EQUAL may get simplified into register.
      We don't allow that. Remove that note. This code ought
-     not to hapen, because previous code ought to syntetize
+     not to happen, because previous code ought to synthesize
      reg-reg move, but be on the safe side.  */
   if (note && REG_P (XEXP (note, 0)))
     remove_note (insn, note);
@@ -4032,7 +4032,7 @@ find_avail_set (regno, insn)
 
 /* Subroutine of cprop_insn that tries to propagate constants into
    JUMP_INSNS.  JUMP must be a conditional jump.  If SETCC is non-NULL
-   it is the instruction that immediately preceeds JUMP, and must be a
+   it is the instruction that immediately precedes JUMP, and must be a
    single SET of a register.  FROM is what we will try to replace,
    SRC is the constant we will try to substitute for it.  Returns nonzero
    if a change was made.  */
@@ -4292,7 +4292,7 @@ do_local_cprop (x, insn, alter_jumps, libcall_sp)
       if (newcnst && constprop_register (insn, x, newcnst, alter_jumps))
        {
          /* If we find a case where we can't fix the retval REG_EQUAL notes
-            match the new register, we either have to abandom this replacement
+            match the new register, we either have to abandon this replacement
             or fix delete_trivially_dead_insns to preserve the setting insn,
             or make it delete the REG_EUAQL note, and fix up all passes that
             require the REG_EQUAL note there.  */
@@ -4697,7 +4697,7 @@ bypass_conditional_jumps ()
     }
 
   /* If we bypassed any register setting insns, we inserted a
-     copy on the redirected edge.  These need to be commited.  */
+     copy on the redirected edge.  These need to be committed.  */
   if (changed)
     commit_edge_insertions();
 
@@ -5039,7 +5039,7 @@ insert_insn_end_bb (expr, bb, pre)
       /* Keeping in mind SMALL_REGISTER_CLASSES and parameters in registers,
         we search backward and place the instructions before the first
         parameter is loaded.  Do this for everyone for consistency and a
-        presumtion that we'll get better code elsewhere as well.
+        presumption that we'll get better code elsewhere as well.
 
         It should always be the case that we can put these instructions
         anywhere in the basic block with performing PRE optimizations.
@@ -5684,7 +5684,7 @@ delete_null_pointer_checks_1 (block_reg, nonnull_avin,
     }
 
   /* Now compute global properties based on the local properties.   This
-     is a classic global availablity algorithm.  */
+     is a classic global availability algorithm.  */
   compute_available (nonnull_local, nonnull_killed,
                     nonnull_avout, nonnull_avin);
 
@@ -5765,7 +5765,7 @@ delete_null_pointer_checks_1 (block_reg, nonnull_avin,
    reference of that form, then we know the register can not have the value
    zero at the conditional branch.
 
-   So we merely need to compute the local properies and propagate that data
+   So we merely need to compute the local properties and propagate that data
    around the cfg, then optimize where possible.
 
    We run this pass two times.  Once before CSE, then again after CSE.  This
@@ -6947,7 +6947,7 @@ store_killed_after (x, insn, bb)
      Note that if registers are changed ANYWHERE in the block, we'll
      decide we can't move it, regardless of whether it changed above
      or below the store. This could be improved by checking the register
-     operands while lookinng for aliasing in each insn.  */
+     operands while looking for aliasing in each insn.  */
   if (!store_ops_ok (XEXP (x, 0), bb))
     return 1;
 
@@ -6974,7 +6974,7 @@ store_killed_before (x, insn, bb)
      Note that if registers are changed ANYWHERE in the block, we'll
      decide we can't move it, regardless of whether it changed above
      or below the store. This could be improved by checking the register
-     operands while lookinng for aliasing in each insn.  */
+     operands while looking for aliasing in each insn.  */
   if (!store_ops_ok (XEXP (x, 0), bb))
     return 1;
 
@@ -7020,7 +7020,7 @@ build_store_vectors ()
 
          if (!store_killed_after (ptr->pattern, insn, bb))
            {
-             /* If we've already seen an availale expression in this block,
+             /* If we've already seen an available expression in this block,
                 we can delete the one we saw already (It occurs earlier in
                 the block), and replace it with this one). We'll copy the
                 old SRC expression to an unused register in case there
@@ -7084,7 +7084,7 @@ build_store_vectors ()
              Load in the middle here if we push the store down. It happens in
                    gcc.c-torture/execute/960311-1.c with -O3
              If we always kill it in this case, we'll sometimes do
-             uneccessary work, but it shouldn't actually hurt anything.
+             unnecessary work, but it shouldn't actually hurt anything.
            if (!TEST_BIT (ae_gen[b], ptr->index)).  */
            SET_BIT (ae_kill[b->index], ptr->index);
          }
@@ -7107,7 +7107,7 @@ build_store_vectors ()
     }
 }
 
-/* Insert an instruction at the begining of a basic block, and update
+/* Insert an instruction at the beginning of a basic block, and update
    the BLOCK_HEAD if needed.  */
 
 static void
index 53ebbefd3ae85e36020d46a73614c489d30ad3a9..b1f04bb5e7a8cec9cdf3c70f768ad8c32b3a142b 100644 (file)
@@ -2085,7 +2085,7 @@ expand_units ()
             every possible C.
 
             The issue delay function for C is op->issue_exp and is used to
-            write the `<name>_unit_conflict_cost' function.  Symbolicly
+            write the `<name>_unit_conflict_cost' function.  Symbolically
             this is "ISSUE-DELAY (E,C)".
 
             The pipeline delay results form the FIFO constraint on the
@@ -3198,8 +3198,8 @@ attr_rtx_cost (x)
 \f
 
 /* Simplify test expression and use temporary obstack in order to avoid
-   memory bloat.  Use ATTR_IND_SIMPLIFIED to avoid unnecesary simplifications
-   and avoid unnecesary copying if possible.  */
+   memory bloat.  Use ATTR_IND_SIMPLIFIED to avoid unnecessary simplifications
+   and avoid unnecessary copying if possible.  */
 
 static rtx
 simplify_test_exp_in_temp (exp, insn_code, insn_index)
index 8ee2c22aae0c259e5a0e7e2678a267a0dd04601e..d3d6a8b38181c90ebf4ed56ad965591e73686866 100644 (file)
@@ -39,8 +39,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
    following:
 
    1. New operator `|' (alternative) is permitted in functional unit
-      reservation which can be treated deterministicly and
-      non-deterministicly.
+      reservation which can be treated deterministically and
+      non-deterministically.
 
    2. Possibility of usage of nondeterministic automata too.
 
@@ -1156,7 +1156,7 @@ struct arc
    of automaton insn or which is part of NDFA.  */
 struct alt_state
 {
-  /* The following field is a determinist state which characterizes
+  /* The following field is a deterministic state which characterizes
      unit reservations of the instruction.  */
   state_t state;
   /* The following field refers to the next state which characterizes
@@ -1212,7 +1212,7 @@ struct ainsn
   int important_p;
 };
 
-/* The folowing describes an automaton for PHR.  */
+/* The following describes an automaton for PHR.  */
 struct automaton
 {
   /* The following field value is the list of insn declarations for
@@ -1605,7 +1605,7 @@ next_sep_el (pstr, sep, par_flag)
 
 /* Given a string and a separator, return the number of separated
    elements in it, taking parentheses into account if PAR_FLAG has
-   nonzero value.  Return 0 for the null string, -1 if parantheses is
+   nonzero value.  Return 0 for the null string, -1 if parentheses is
    not balanced.  */
 static int
 n_sep_els (s, sep, par_flag)
@@ -4001,7 +4001,7 @@ reserv_sets_are_intersected (operand_1, operand_2)
 
 /* The function sets up RESULT bits by bits of OPERAND shifted on one
    cpu cycle.  The remaining bits of OPERAND (representing the last
-   cycle unit reservations) are not chenged.  */
+   cycle unit reservations) are not changed.  */
 static void
 reserv_sets_shift (result, operand)
      reserv_sets_t result;
@@ -5411,7 +5411,7 @@ transform_regexp (regexp)
   return regexp;
 }
 
-/* The function applys all transformations for reservations of all
+/* The function applies all transformations for reservations of all
    insn declarations.  */
 static void
 transform_insn_regexps ()
@@ -7205,7 +7205,7 @@ longest_path_length (state)
        advance' arcs -- see comment below.  */
     abort ();
   else if (state->longest_path_length != UNDEFINED_LONGEST_PATH_LENGTH)
-    /* We alreday visited the state.  */
+    /* We already visited the state.  */
     return state->longest_path_length;
 
   result = 0;
@@ -8359,7 +8359,7 @@ output_max_insn_queue_index_def ()
 }
 
 
-/* The function outputs switch cases for insn reseravtions using
+/* The function outputs switch cases for insn reservations using
    function *output_automata_list_code.  */
 static void
 output_insn_code_cases (output_automata_list_code)
index 2165755ed152cf42ef8bbf1d62064a2b851ec700..cbaf7ac6d67b2f87769f096dd53049306156955c 100644 (file)
@@ -814,7 +814,7 @@ adjust_field_type (t, opt)
 }
 
 /* Create a union for YYSTYPE, as yacc would do it, given a fieldlist FIELDS
-   and information about the correspondance between token types and fields
+   and information about the correspondence between token types and fields
    in TYPEINFO.  POS is used for error messages.  */
 
 void
index ec74539808c16d42ed1832d45ff5a00284889534..baf8c7fffbc714a0ecbfe7c20a5df06bf89a62b3 100644 (file)
@@ -67,7 +67,7 @@ static char **insn_name_ptr = 0;
 static int insn_name_ptr_size = 0;
 
 /* A listhead of decision trees.  The alternatives to a node are kept
-   in a doublely-linked list so we can easily add nodes to the proper
+   in a doubly-linked list so we can easily add nodes to the proper
    place when merging.  */
 
 struct decision_head
@@ -1968,7 +1968,7 @@ write_switch (start, depth)
     }
   else
     {
-      /* None of the other tests are ameanable.  */
+      /* None of the other tests are amenable.  */
       return p;
     }
 }
index 4fadc144462ff29214f8f3418bc699d6e5cc3cf0..b35777ee6d632174b4d15fb18232ad7fdb0ae581 100644 (file)
@@ -695,7 +695,7 @@ global_conflicts ()
                2. Y is live at some instruction on the path that
                   evaluates X.
 
-               3. Either X or Y is not evaluted on the path to P
+               3. Either X or Y is not evaluated on the path to P
                   (ie it is used uninitialized) and thus the
                   conflict can be ignored.
 
index 8d0eb48634b300e53422b0ad8b6ca1dc12105ae2..30cb6254329c19e33ecbad15f1c1fa1a79ce2996 100644 (file)
@@ -1,4 +1,4 @@
-/* RTEMS threads compatibily routines for libgcc2 and libobjc.
+/* RTEMS threads compatibility routines for libgcc2 and libobjc.
    by: Rosimildo da Silva( rdasilva@connecttel.com ) */
 /* Compile this one with gcc.  */
 /* Copyright (C) 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
@@ -39,7 +39,7 @@ extern "C" {
 #define __GTHREAD_ONCE_INIT  0
 #define __GTHREAD_MUTEX_INIT_FUNCTION  rtems_gxx_mutex_init
 
-/* avoid depedency on rtems specific headers */
+/* Avoid dependency on rtems specific headers.  */
 typedef void *__gthread_key_t;
 typedef int   __gthread_once_t;
 typedef void *__gthread_mutex_t;