]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
bt-load.c: Fix comment typos.
authorKazu Hirata <kazu@cs.umass.edu>
Sat, 5 Jul 2003 15:17:36 +0000 (15:17 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Sat, 5 Jul 2003 15:17:36 +0000 (15:17 +0000)
* bt-load.c: Fix comment typos.
* c-incpath.c: Likewise.
* cfg.c: Likewise.
* cfgcleanup.c: Likewise.
* cfgloop.h: Likewise.
* cfgloopmanip.c: Likewise.
* cfgrtl.c: Likewise.
* diagnostic.h: Likewise.
* dwarfout.c: Likewise.
* emit-rtl.c: Likewise.
* et-forest.c: Likewise.
* et-forest.h: Likewise.
* expr.c: Likewise.
* gcse.c: Likewise.
* genattr.c: Likewise.
* jump.c: Likewise.
* langhooks.h: Likewise.
* local-alloc.c: Likewise.
* loop-unroll.c: Likewise.
* loop-unswitch.c: Likewise.
* ra-build.c: Likewise.
* regclass.c: Likewise.
* regmove.c: Likewise.
* rtl.def: Likewise.
* rtlanal.c: Likewise.
* sched-ebb.c: Likewise.
* sched-rgn.c: Likewise.
* simplify-rtx.c: Likewise.
* ssa.c: Likewise.
* tracer.c: Likewise.
* tree.c: Likewise.

From-SVN: r68975

32 files changed:
gcc/ChangeLog
gcc/bt-load.c
gcc/c-incpath.c
gcc/cfg.c
gcc/cfgcleanup.c
gcc/cfgloop.h
gcc/cfgloopmanip.c
gcc/cfgrtl.c
gcc/diagnostic.h
gcc/dwarfout.c
gcc/emit-rtl.c
gcc/et-forest.c
gcc/et-forest.h
gcc/expr.c
gcc/gcse.c
gcc/genattr.c
gcc/jump.c
gcc/langhooks.h
gcc/local-alloc.c
gcc/loop-unroll.c
gcc/loop-unswitch.c
gcc/ra-build.c
gcc/regclass.c
gcc/regmove.c
gcc/rtl.def
gcc/rtlanal.c
gcc/sched-ebb.c
gcc/sched-rgn.c
gcc/simplify-rtx.c
gcc/ssa.c
gcc/tracer.c
gcc/tree.c

index dc5696652a131f26091a8c95800545a414787edc..a1e122751972406ece66ca7a961e475ac091302d 100644 (file)
@@ -1,3 +1,37 @@
+2003-07-05  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * bt-load.c: Fix comment typos.
+       * c-incpath.c: Likewise.
+       * cfg.c: Likewise.
+       * cfgcleanup.c: Likewise.
+       * cfgloop.h: Likewise.
+       * cfgloopmanip.c: Likewise.
+       * cfgrtl.c: Likewise.
+       * diagnostic.h: Likewise.
+       * dwarfout.c: Likewise.
+       * emit-rtl.c: Likewise.
+       * et-forest.c: Likewise.
+       * et-forest.h: Likewise.
+       * expr.c: Likewise.
+       * gcse.c: Likewise.
+       * genattr.c: Likewise.
+       * jump.c: Likewise.
+       * langhooks.h: Likewise.
+       * local-alloc.c: Likewise.
+       * loop-unroll.c: Likewise.
+       * loop-unswitch.c: Likewise.
+       * ra-build.c: Likewise.
+       * regclass.c: Likewise.
+       * regmove.c: Likewise.
+       * rtl.def: Likewise.
+       * rtlanal.c: Likewise.
+       * sched-ebb.c: Likewise.
+       * sched-rgn.c: Likewise.
+       * simplify-rtx.c: Likewise.
+       * ssa.c: Likewise.
+       * tracer.c: Likewise.
+       * tree.c: Likewise.
+
 2003-07-05  Zack Weinberg  <zack@codesourcery.com>
 
        * cppcharset.c: Use the correct return type for the fallback iconv
index 180a8baa2a920c2db7d7b9e76ba7fc060f50a8cf..4bcf76c3f224a2c0ac6f0b927b81b85e8b4a9a92 100644 (file)
@@ -1157,7 +1157,7 @@ can_move_up (basic_block bb, rtx insn, int n_insns)
    MIN_COST is the lower bound on the cost of the DEF after migration.
    If we migrate DEF so that its cost falls below MIN_COST,
    then we do not attempt to migrate further.  The idea is that
-   we migrate defintions in a priority order based on their cost,
+   we migrate definitions in a priority order based on their cost,
    when the cost of this definition falls below MIN_COST, then
    there is another definition with cost == MIN_COST which now
    has a higher priority than this definition.
index 377653021a5c2bf1481b9e529b6ac621ef885aae..efcd19b5ea5b9a8402a6a9968b22908e67050087 100644 (file)
@@ -208,7 +208,7 @@ remove_duplicates (cpp_reader *pfile, struct cpp_path *head,
 
          if (!tmp)
            {
-             /* Dupicate of something earlier in the same chain?  */
+             /* Duplicate of something earlier in the same chain?  */
              reason = REASON_DUP;
              for (tmp = head; tmp != cur; tmp = tmp->next)
                if (INO_T_EQ (cur->ino, tmp->ino) && cur->dev == tmp->dev)
index ced99a3909e962af76a686ac18c501fe6bf3f2d0..ba4dd812a64b1b3d40b912c4999f8b2cc9303596 100644 (file)
--- a/gcc/cfg.c
+++ b/gcc/cfg.c
@@ -20,7 +20,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 02111-1307, USA.  */
 
 /* This file contains low level functions to manipulate the CFG and
-   analyze it.  All other modules should not transform the datastructure
+   analyze it.  All other modules should not transform the data structure
    directly and use abstraction instead.  The file is supposed to be
    ordered bottom-up and should not contain any code dependent on a
    particular intermediate language (RTL or trees).
index da874f7726891c4191f4f772499eecfef7991b88..7dbed9b970549fe9f721da5a6516555c82c1ba87 100644 (file)
@@ -769,7 +769,7 @@ merge_blocks_move_successor_nojumps (basic_block a, basic_block b)
 
    It may be good idea to return basic block before C in the case
    C has been moved after B and originally appeared earlier in the
-   insn seqeunce, but we have no infromation available about the
+   insn sequence, but we have no information available about the
    relative ordering of these two.  Hopefully it is not too common.  */
 
 static basic_block
index 3fdc609582fae548cb7dd4dbefca426a148b5c8e..e879e5220315abd1855797c4e5d6a2eb251fd1e1 100644 (file)
@@ -266,7 +266,7 @@ extern int flow_loop_scan (struct loops *, struct loop *, int);
 extern void flow_loop_free (struct loop *);
 void mark_irreducible_loops (struct loops *);
 
-/* Loop datastructure manipulation/querying.  */
+/* Loop data structure manipulation/querying.  */
 extern void flow_loop_tree_node_add (struct loop *, struct loop *);
 extern void flow_loop_tree_node_remove (struct loop *);
 extern bool flow_loop_outside_edge_p (const struct loop *, edge);
index 6075b4c115d174acf05f40beaeb6bcb11d582743..8892720069d36330737b47646e0d96255d29a9ce 100644 (file)
@@ -169,7 +169,7 @@ fix_bb_placement (struct loops *loops, basic_block bb)
    his placement no longer has to be correct, and iteratively fix placement of
    its predecessors that may change if placement of FROM changed.  Also fix
    placement of subloops of FROM->loop_father, that might also be altered due
-   to this change; the condition for them is simmilar, except that instead of
+   to this change; the condition for them is similar, except that instead of
    successors we consider edges coming out of the loops.  */
 static void
 fix_bb_placements (struct loops *loops, basic_block from)
index 1f878ee203ed06b238794562b3b88a7571145748..09e2e1c93951500b0e0056c4f1a996bff4a46913 100644 (file)
@@ -1340,7 +1340,7 @@ rtl_split_edge (edge edge_in)
 
   make_single_succ_edge (bb, edge_in->dest, EDGE_FALLTHRU);
 
-  /* For non-fallthry edges, we must adjust the predecessor's
+  /* For non-fallthru edges, we must adjust the predecessor's
      jump instruction to target our new block.  */
   if ((edge_in->flags & EDGE_FALLTHRU) == 0)
     {
index 73a3bd90cca85a36e7922bf602bdf87526b6c1a7..cd0cebaf1bd5bf7da790a109f2aba8a12e53d1f2 100644 (file)
@@ -34,7 +34,7 @@ typedef struct
   int err_no;  /* for %m */
 } text_info;
 
-/* Contants used to discriminate diagnostics.  */
+/* Constants used to discriminate diagnostics.  */
 typedef enum
 {
 #define DEFINE_DIAGNOSTIC_KIND(K, M) K,  
index 02159a9d75086379cada10bd454ba9528b9aa445..caed460664354847be0088808d2569c7ef6b3017 100644 (file)
@@ -2182,7 +2182,7 @@ output_loc_descriptor (rtx rtl)
 
 /* Given a tree node describing an array bound (either lower or upper)
    output a representation for that bound.  DIM_NUM is used for
-   multi-dimensional arrays and U_OR_L disgnates upper or lower
+   multi-dimensional arrays and U_OR_L designates upper or lower
    bound.  */
 
 static void
index 2cc83eae89adfef2d46b1eea08212be60aa61391..d191b286bb34fb800f236256610480ddab7f4029 100644 (file)
@@ -912,7 +912,7 @@ set_decl_rtl (tree t, rtx x)
 
   if (!x)
     return;
-  /* For register, we maitain the reverse information too.  */
+  /* For register, we maintain the reverse information too.  */
   if (GET_CODE (x) == REG)
     REG_ATTRS (x) = get_reg_attrs (t, 0);
   else if (GET_CODE (x) == SUBREG)
@@ -2241,7 +2241,7 @@ offset_address (rtx memref, rtx offset, unsigned HOST_WIDE_INT pow2)
   new = simplify_gen_binary (PLUS, Pmode, addr, offset);
 
   /* At this point we don't know _why_ the address is invalid.  It
-     could have secondary memory refereces, multiplies or anything.
+     could have secondary memory references, multiplies or anything.
 
      However, if we did go and rearrange things, we can wind up not
      being able to recognize the magic around pic_offset_table_rtx.
index 1d5cd26d25ad990f778f887d721517f4a8f46c28..ffdce1d76bd75c3dc019f8cbfa6e945a05d00489 100644 (file)
@@ -1,4 +1,4 @@
-/* ET-trees datastructure implementation.
+/* ET-trees data structure implementation.
    Contributed by Pavel Nejedly
    Copyright (C) 2002, 2003 Free Software Foundation, Inc.
 
index 7f734392773b6e4a4e560569c3133e558928de5e..66aec4897c0d55a7693c0f2a15fb09793f95287b 100644 (file)
@@ -20,7 +20,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
    for tree operations (insertion and removal of nodes and edges) and
    poly-logarithmic time for nearest common ancestor.
 
-   ET tree strores its structue as a sequence of symbols obtained
+   ET tree stores its structue as a sequence of symbols obtained
    by dfs(root)
 
    dfs (node)
index 88374f35ee36fe457d866208f9fc9e8460822d89..eedf68c1018d19a3d9f2689223bd7d796c7755ff 100644 (file)
@@ -4398,7 +4398,7 @@ store_expr (tree exp, rtx target, int want_value)
     {
       /* C++ can generate ?: expressions with a throw expression in one
         branch and an rvalue in the other. Here, we resolve attempts to
-        store the throw expression's nonexistant result.  */
+        store the throw expression's nonexistent result.  */
       if (want_value)
        abort ();
       expand_expr (exp, const0_rtx, VOIDmode, 0);
index e554dd867a69fb98a547da775c91d329bc8d8033..5525ffe95afc744641299c9aa40e6e03f74a715d 100644 (file)
@@ -5327,7 +5327,7 @@ insert_insn_end_bb (expr, bb, pre)
     pat_end = NEXT_INSN (pat_end);
 
   /* If the last insn is a jump, insert EXPR in front [taking care to
-     handle cc0, etc. properly].  Similary we need to care trapping
+     handle cc0, etc. properly].  Similarly we need to care trapping
      instructions in presence of non-call exceptions.  */
 
   if (GET_CODE (insn) == JUMP_INSN
index 587751696404f5eccd4ec6599e38f6079867c859..cccacba3915ee764c83d5af290f8204c6a488f1c 100644 (file)
@@ -165,7 +165,7 @@ write_units (int num_units, struct range *multiplicity, struct range *simultanei
   printf ("#define BLOCKAGE_BITS %d\n", i + 1);
 
   /* INSN_QUEUE_SIZE is a power of two larger than MAX_BLOCKAGE and
-     MAX_READY_COST.  This is the longest time an isnsn may be queued.  */
+     MAX_READY_COST.  This is the longest time an insn may be queued.  */
   i = MAX (blockage->max, ready_cost->max);
   for (q_size = 1; q_size <= i; q_size <<= 1)
     ;
index 02a5cc72e17ff33c5877787afd66db3a13f7bcb5..adf3fdbd7e8b4348599d1de25ce046c062ea2340 100644 (file)
@@ -681,7 +681,7 @@ reversed_comparison_code_parts (code, arg0, arg1, insn)
     case NE:
     case EQ:
       /* It is always safe to reverse EQ and NE, even for the floating
-        point.  Similary the unsigned comparisons are never used for
+        point.  Similarly the unsigned comparisons are never used for
         floating point so we can reverse them in the default way.  */
       return reverse_condition (code);
     case ORDERED:
index eadff1244f1026c45b1623445cab7e3366119d28..d0abc298d949e7f9fce37ae2efef9c171d37c1f7 100644 (file)
@@ -211,7 +211,7 @@ struct lang_hooks
 
   /* Handle the switch CODE, which has real type enum opt_code from
      options.h.  If the switch takes an argument, it is passed in ARG
-     which points to permanent storage.  The handler is resonsible for
+     which points to permanent storage.  The handler is responsible for
      checking whether ARG is NULL, which indicates that no argument
      was in fact supplied.  For -f and -W switches, VALUE is 1 or 0
      for the positive and negative forms respectively.
index 8e06b8db7cc2282174b594d6365ebd817fd9abc7..3881e408587a3c4e6375542b95b0def88849251c 100644 (file)
@@ -922,7 +922,7 @@ update_equiv_regs ()
              || (CLASS_LIKELY_SPILLED_P (reg_preferred_class (regno))
                  && GET_CODE (src) == MEM))
            {
-             /* This might be seting a SUBREG of a pseudo, a pseudo that is
+             /* This might be setting a SUBREG of a pseudo, a pseudo that is
                 also set somewhere else to a constant.  */
              note_stores (set, no_equiv, NULL);
              continue;
@@ -1035,7 +1035,7 @@ update_equiv_regs ()
      registers only used that once.  If so, see if we can replace the
      reference with the equivalent from.  If we can, delete the
      initializing reference and this register will go away.  If we
-     can't replace the reference, and the initialzing reference is
+     can't replace the reference, and the initializing reference is
      within the same loop (or in an inner loop), then move the register
      initialization just before the use, so that they are in the same
      basic block.  */
index b8c035fbc81c548b79eb92db43c1f62f4a586048..a0f253b9f0f14fae8dd1f518c9d95071ae28a28a 100644 (file)
@@ -35,7 +35,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
    optimizations on innermost loops (with single exception) because
    the impact on performance is greatest here, and we want to avoid
    unnecessary code size growth.  The gain is caused by greater sequentiality
-   of code, better code to optimize for futher passes and in some cases
+   of code, better code to optimize for further passes and in some cases
    by fewer testings of exit conditions.  The main problem is code growth,
    that impacts performance negatively due to effect of caches.
 
index 202cbffcb8dfdcc1982fb3b1e1187ce5012068c1..05ac83eaa913014bdcf4c2664ef2e0a05657f876 100644 (file)
@@ -410,7 +410,7 @@ unswitch_loop (loops, loop, unswitch_on)
   remove_path (loops, unswitch_on_alt->succ);
 
   /* One of created loops do not have to be subloop of the outer loop now,
-     so fix its placement in loop datastructure.  */
+     so fix its placement in loop data structure.  */
   fix_loop_placement (loop);
   fix_loop_placement (nloop);
 
index c4cc59a253d17b620b10d60d10250e038702529e..e6f846aea59354955374b5000c47750406a50443 100644 (file)
@@ -667,7 +667,7 @@ defuse_overlap_p_1 (def, use)
             if they refer to the same word.  */
          if (SUBREG_BYTE (def) == SUBREG_BYTE (use->x))
            return 1;
-       /* Now the more difficult part: the same regno is refered, but the
+       /* Now the more difficult part: the same regno is referred, but the
           sizes of the references or the words differ.  E.g.
            (subreg:SI (reg:CDI a) 0) and (subreg:DI (reg:CDI a) 2) do not
           overlap, whereas the latter overlaps with (subreg:SI (reg:CDI a) 3).
index e587f71a40c0111731ea51c172ac2d89babe6c2d..32ef9cc7125d8aa185f47796afcecbdabf6e2bb3 100644 (file)
@@ -1828,7 +1828,7 @@ record_reg_classes (n_alts, n_ops, ops, modes,
      we may want to adjust the cost of that register class to -1.
 
      Avoid the adjustment if the source does not die to avoid stressing of
-     register allocator by preferrencing two coliding registers into single
+     register allocator by preferrencing two colliding registers into single
      class.
 
      Also avoid the adjustment if a copy between registers of the class
index 0c3c25d07264a25c4535d5eb09854c9d1a66a86f..bdd7ae88f4306f71de4ba0b9aa32369d4aedc625 100644 (file)
@@ -2070,7 +2070,7 @@ fixup_match_1 (insn, set, src, src_subreg, dst, backward, operand_number,
 }
 
 
-/* return nonzero if X is stable and mentions no regsiters but for
+/* return nonzero if X is stable and mentions no registers but for
    mentioning SRC or mentioning / changing DST .  If in doubt, presume
    it is unstable.
    The rationale is that we want to check if we can move an insn easily
index 1388b6ffd5584678a6e836b36d4861d965468701..54b6940e780d5f8b818e8a77668fcff37e9f10ae 100644 (file)
@@ -528,7 +528,7 @@ DEF_RTL_EXPR(DEFINE_RESERVATION, "define_reservation", "ss", 'x')
        first regular expression *and* the reservation described by the
        second regular expression *and* etc.
 
-       4. "*" is used for convinience and simply means sequence in
+       4. "*" is used for convenience and simply means sequence in
        which the regular expression are repeated NUMBER times with
        cycle advancing (see ",").
 
index 8ad6281aa4d7487395fc4b28a163b1d20d5be163..de228e39431e67d38fdfdac67689cd4e372e61e2 100644 (file)
@@ -3693,7 +3693,7 @@ can_hoist_insn_p (insn, val, live)
              break;
            case USE:
              /* We need to fix callers to really ensure availability
-                of all values inisn uses, but for now it is safe to prohibit
+                of all values insn uses, but for now it is safe to prohibit
                 hoisting of any insn having such a hidden uses.  */
              return false;
              break;
index d27630ead5d17ca30d9f26c62d4ee2af4f601020..7f4486636f3f2696aa257682ba130db4d5eac942 100644 (file)
@@ -290,7 +290,7 @@ fix_basic_block_boundaries (bb, last, head, tail)
                 it by splitting the edge and repositioning the block.
                 This is somewhat hackish, but at least avoid cut&paste 
 
-                Safter sollution can be to bring the code into sequence,
+                A safer solution can be to bring the code into sequence,
                 do the split and re-emit it back in case this will ever
                 trigger problem.  */
              f = bb->prev_bb->succ;
@@ -410,7 +410,7 @@ earliest_block_with_similiar_load (last_block, load_insn)
   return earliest_block;
 }
 
-/* The following function adds dependecies between jumps and risky
+/* The following function adds dependencies between jumps and risky
    insns in given ebb.  */
 
 static void
index c7e7f808ee93f284885e02aa152118000fb39016..8310243a24ce36e6b090c65c0cc628d7067fb3a4 100644 (file)
@@ -142,7 +142,7 @@ static int *rgn_bb_table;
 /* Topological order of blocks in the region (if b2 is reachable from
    b1, block_to_bb[b2] > block_to_bb[b1]).  Note: A basic block is
    always referred to by either block or b, while its topological
-   order name (in the region) is refered to by bb.  */
+   order name (in the region) is referred to by bb.  */
 static int *block_to_bb;
 
 /* The number of the region containing a block.  */
index f49f53d66d8e54ccf69694fcbf2be3121c2ebfb6..0b584aeed59580f8ad33d62d17da3ef077a8ff33 100644 (file)
@@ -2897,7 +2897,7 @@ simplify_subreg (outermode, op, innermode, byte)
            return NULL_RTX;
        }
 
-      /* Recurse for futher possible simplifications.  */
+      /* Recurse for further possible simplifications.  */
       new = simplify_subreg (outermode, SUBREG_REG (op),
                             GET_MODE (SUBREG_REG (op)),
                             final_offset);
index 2484582a526df01866dc65f8986a8b53ff410302..af5f23194e19373937608bcf9339a1922e760465 100644 (file)
--- a/gcc/ssa.c
+++ b/gcc/ssa.c
@@ -142,7 +142,7 @@ static void ssa_rename_from_free
 typedef int (*srf_trav) PARAMS ((int regno, rtx r, sbitmap canonical_elements, partition reg_partition));
 static void ssa_rename_from_traverse
   PARAMS ((htab_trav callback_function, sbitmap canonical_elements, partition reg_partition));
-/*static Avoid warnign message.  */ void ssa_rename_from_print
+/*static Avoid warning message.  */ void ssa_rename_from_print
   PARAMS ((void));
 static int ssa_rename_from_print_1
   PARAMS ((void **slot, void *data));
@@ -360,7 +360,7 @@ ssa_rename_from_print ()
 }
 
 /* Print the contents of the hash table entry SLOT, passing the unused
-   sttribute DATA.  Used as a callback function with htab_traverse ().  */
+   attribute DATA.  Used as a callback function with htab_traverse ().  */
 
 static int
 ssa_rename_from_print_1 (slot, data)
@@ -1568,7 +1568,7 @@ make_regs_equivalent_over_bad_edges (bb, reg_partition)
 }
 
 /* Consider phi insns in basic block BB pairwise.  If the set target
-   of both isns are equivalent pseudos, make the corresponding phi
+   of both insns are equivalent pseudos, make the corresponding phi
    alternatives in each phi corresponding equivalent.
 
    Return nonzero if any new register classes were unioned.  */
index ba1f09e4bddac2e7fe3d01dfce79f3655c74375d..a0164ddfcfc92e8fc588e9c29c0ce238f00c6b40 100644 (file)
@@ -316,7 +316,7 @@ tail_duplicate ()
   fibheap_delete (heap);
 }
 
-/* Connect the superblocks into linear seuqence.  At the moment we attempt to keep
+/* Connect the superblocks into linear sequence.  At the moment we attempt to keep
    the original order as much as possible, but the algorithm may be made smarter
    later if needed.  BB reordering pass should void most of the benefits of such
    change though.  */
index 0861cb2a3ffc18cba668b6e51b289a45d7cfe606..6473871d84cb66f76d01cd0b6a33cc842aa8d4da 100644 (file)
@@ -5080,7 +5080,7 @@ build_common_tree_nodes_2 (short_double)
     tree t;
     BUILD_VA_LIST_TYPE (t);
 
-    /* Many back-ends define record types without seting TYPE_NAME.
+    /* Many back-ends define record types without setting TYPE_NAME.
        If we copied the record type here, we'd keep the original
        record type without a name.  This breaks name mangling.  So,
        don't copy record types and let c_common_nodes_and_builtins()