aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2006-05-08 05:17:54 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2006-05-08 05:17:54 +0000
commitbca504069d503b69f51f380c86c5c929651c9da8 (patch)
tree3b41ded138e26f5222fd1c63db9b0f9155696bd5 /gcc
parent923d16d409b1c8c6947d2f539ce27e233bb41c9a (diff)
downloadgcc-bca504069d503b69f51f380c86c5c929651c9da8.zip
gcc-bca504069d503b69f51f380c86c5c929651c9da8.tar.gz
gcc-bca504069d503b69f51f380c86c5c929651c9da8.tar.bz2
see.c, [...]: Fix comment typos.
* see.c, tree-flow-inline.h, tree-phinodes.c: Fix comment typos. From-SVN: r113621
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/see.c10
-rw-r--r--gcc/tree-flow-inline.h4
-rw-r--r--gcc/tree-phinodes.c2
4 files changed, 11 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3acb58b..1bb7acb 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/see.c b/gcc/see.c
index 603d72e..8e4bd29 100644
--- 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);
diff --git a/gcc/tree-flow-inline.h b/gcc/tree-flow-inline.h
index 98cb512..5f7efa7 100644
--- a/gcc/tree-flow-inline.h
+++ b/gcc/tree-flow-inline.h
@@ -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;
diff --git a/gcc/tree-phinodes.c b/gcc/tree-phinodes.c
index 5e85aea..98b011f 100644
--- a/gcc/tree-phinodes.c
+++ b/gcc/tree-phinodes.c
@@ -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);
}