see.c, [...]: Fix comment typos.
authorKazu Hirata <kazu@codesourcery.com>
Mon, 8 May 2006 05:17:54 +0000 (05:17 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Mon, 8 May 2006 05:17:54 +0000 (05:17 +0000)
* see.c, tree-flow-inline.h, tree-phinodes.c: Fix comment
typos.

From-SVN: r113621

gcc/ChangeLog
gcc/see.c
gcc/tree-flow-inline.h
gcc/tree-phinodes.c

index 3acb58b61de2bf83efa453e7bc6c7ac446ec92b8..1bb7acb315264afdc63b3f253c4ec615bd23ba30 100644 (file)
@@ -2,6 +2,9 @@
 
        * config/arm/constraints.md (c): Fix a typo.
 
+       * see.c, tree-flow-inline.h, tree-phinodes.c: Fix comment
+       typos.
+
 2006-05-07  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR target/24879
index 603d72e9e232a092914640a57e46899679679fc3..8e4bd29e26a6ec2f99be5de797f74268008084f5 100644 (file)
--- a/gcc/see.c
+++ b/gcc/see.c
@@ -567,7 +567,7 @@ struct see_register_properties
 };
 
 /* Occurrence of an expression.
-   There must be at most one available occurance and at most one anticipatable
+   There must be at most one available occurrence and at most one anticipatable
    occurrence per basic block.  */
 struct see_occr
 {
@@ -925,7 +925,7 @@ hash_del_properties (void *p)
    set ((reg:WIDEmode r1) (sign_extend:WIDEmode (reg:NARROWmode r2)))
 
    The value of the key is (REGNO (reg:WIDEmode r1))
-   It is posibble to search this hash in two ways:
+   It is possible to search this hash in two ways:
    1.  By a register rtx. The Value that is been compared to the keys is the
        REGNO of it.
    2.  By an insn with the above pattern. The Value that is been compared to
@@ -1648,7 +1648,7 @@ see_commit_ref_changes (splay_tree_node stn,
    redundant.
 
    INDEX_MAP is a mapping of an index to an expression.
-   Return true if an instruction was insertedon an edge.
+   Return true if an instruction was inserted on an edge.
    Otherwise, return false.  */
 
 static bool
@@ -2424,7 +2424,7 @@ see_replace_src (rtx *x, void *data)
    set (subreg (dest_extension_reg)) (rhs)
 
    We do this in 4 steps:
-   a. Replace every use of dest_reg with a new preudo register.
+   a. Replace every use of dest_reg with a new pseudo register.
    b. Replace every instance of dest_reg with the subreg.
    c. Replace every use of the new pseudo register back to dest_reg.
    d. Try to recognize and simplify.
@@ -2476,7 +2476,7 @@ see_def_extension_not_merged (struct see_ref_s *curr_ref_s, rtx def_se)
   subreg = gen_lowpart_SUBREG (dest_mode, dest_extension_reg);
   new_pseudo_reg = gen_reg_rtx (source_extension_mode);
 
-  /* Step a: Replace every use of dest_real_reg with a new preudo register.  */
+  /* Step a: Replace every use of dest_real_reg with a new pseudo register.  */
   d.from = dest_real_reg;
   d.to = new_pseudo_reg;
   note_uses (&PATTERN (ref_copy), see_replace_src, &d);
index 98cb512877e5845bc36ec04ded868a132c83f14f..5f7efa7de31ea7f31df5ab4c55008da23d5c7587 100644 (file)
@@ -1390,8 +1390,8 @@ first_imm_use_stmt (imm_use_iterator *imm, tree var)
   imm->next_imm_name = NULL_USE_OPERAND_P;
 
   /* iter_node is used as a marker within the immediate use list to indicate
-     where the end of the current stmt's uses are.  Iintialize it to NULL
-     stmt and use, which indicateds a marker node.  */
+     where the end of the current stmt's uses are.  Initialize it to NULL
+     stmt and use, which indicates a marker node.  */
   imm->iter_node.prev = NULL_USE_OPERAND_P;
   imm->iter_node.next = NULL_USE_OPERAND_P;
   imm->iter_node.stmt = NULL_TREE;
index 5e85aea64e42af48bc2217ab147e0dbd5fb6b787..98b011f89e61f58599a7b6a841432f40a81395f8 100644 (file)
@@ -417,7 +417,7 @@ remove_phi_arg_num (tree phi, int i)
       use_operand_p old_p, new_p;
       old_p = &PHI_ARG_IMM_USE_NODE (phi, num_elem - 1);
       new_p = &PHI_ARG_IMM_USE_NODE (phi, i);
-      /* Set use on new node, and link into last elements's place.  */
+      /* Set use on new node, and link into last element's place.  */
       *(new_p->use) = *(old_p->use);
       relink_imm_use (new_p, old_p);
     }