aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-09-20 11:17:22 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-09-20 11:17:22 +0000
commitd4a9b3a336b30a8315315768f91b73680afb35f7 (patch)
tree91331df04325bb2679babd9f724a756835ba42da /gcc
parentb898b8d9237edf3975784506cde712a54bddc263 (diff)
downloadgcc-d4a9b3a336b30a8315315768f91b73680afb35f7.zip
gcc-d4a9b3a336b30a8315315768f91b73680afb35f7.tar.gz
gcc-d4a9b3a336b30a8315315768f91b73680afb35f7.tar.bz2
cfg.c, [...]: Fix comment typos.
* cfg.c, tree-ssa-threadupdate.c, tree-vectorizer.c: Fix comment typos. From-SVN: r87753
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/cfg.c4
-rw-r--r--gcc/tree-ssa-threadupdate.c4
-rw-r--r--gcc/tree-vectorizer.c4
4 files changed, 11 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 45f7fe7..a175283 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-09-20 Kazu Hirata <kazu@cs.umass.edu>
+
+ * cfg.c, tree-ssa-threadupdate.c, tree-vectorizer.c: Fix
+ comment typos.
+
2004-09-20 Richard Sandiford <rsandifo@redhat.com>
PR target/17565
diff --git a/gcc/cfg.c b/gcc/cfg.c
index b5d28c3..c8f1de5 100644
--- a/gcc/cfg.c
+++ b/gcc/cfg.c
@@ -891,11 +891,11 @@ brief_dump_cfg (FILE *file)
/* An edge originally destinating BB of FREQUENCY and COUNT has been proved to
leave the block by TAKEN_EDGE. Update profile of BB such that edge E can be
- redirected to destiantion of TAKEN_EDGE.
+ redirected to destination of TAKEN_EDGE.
This function may leave the profile inconsistent in the case TAKEN_EDGE
frequency or count is believed to be lower than FREQUENCY or COUNT
- respectivly. */
+ respectively. */
void
update_bb_profile_for_threading (basic_block bb, int edge_frequency,
gcov_type count, edge taken_edge)
diff --git a/gcc/tree-ssa-threadupdate.c b/gcc/tree-ssa-threadupdate.c
index 112509f..a76ce67 100644
--- a/gcc/tree-ssa-threadupdate.c
+++ b/gcc/tree-ssa-threadupdate.c
@@ -55,7 +55,7 @@ Boston, MA 02111-1307, USA. */
with the edge B'->C.
4. For each PHI in B, find or create a PHI in B' with an identical
- PHI_RESULT. Add an argument to the PHI in B' which as the same
+ PHI_RESULT. Add an argument to the PHI in B' which has the same
value as the PHI in B associated with the edge A->B. Associate
the new argument in the PHI in B' with the edge A->B.
@@ -226,7 +226,7 @@ create_block_for_threading (basic_block bb, struct redirection_data *rd)
to update the SSA graph for those names.
We are also going to experiment with a true incremental update
- scheme for the duplicated resources. Of of the interesting
+ scheme for the duplicated resources. One of the interesting
properties we can exploit here is that all the resources set
in BB will have the same IDFS, so we have one IDFS computation
per block with incoming threaded edges, which can lower the
diff --git a/gcc/tree-vectorizer.c b/gcc/tree-vectorizer.c
index acabce4..33f68ad 100644
--- a/gcc/tree-vectorizer.c
+++ b/gcc/tree-vectorizer.c
@@ -2346,7 +2346,7 @@ vect_get_first_index (tree ref, tree *array_first_index)
Input:
ARRAY - an array_ref (possibly multidimensional) of type ARRAY_TYPE.
- VECTYPE - we are interested in the misalignment modulu the size of vectype.
+ VECTYPE - we are interested in the misalignment modulo the size of vectype.
if NULL: don't compute misalignment, just return the base of ARRAY.
PREV_DIMENSIONS - initialized to one.
MISALIGNMENT - the computed misalignment in bits.
@@ -3123,7 +3123,7 @@ vect_get_symbl_and_dr (tree memref, tree stmt, bool is_read,
STRIP_NOPS(oprnd1);
/* Only {address_base + offset} expressions are supported,
- where address_base can be POINTER_TYPE or ARRRAY_TYPE and
+ where address_base can be POINTER_TYPE or ARRAY_TYPE and
offset can be anything but POINTER_TYPE or ARRAY_TYPE.
TODO: swap operands if {offset + address_base}. */
if ((TREE_CODE (TREE_TYPE (oprnd1)) == POINTER_TYPE