From: Kazu Hirata Date: Mon, 20 Sep 2004 11:17:22 +0000 (+0000) Subject: cfg.c, [...]: Fix comment typos. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d4a9b3a336b30a8315315768f91b73680afb35f7;p=gcc.git cfg.c, [...]: Fix comment typos. * cfg.c, tree-ssa-threadupdate.c, tree-vectorizer.c: Fix comment typos. From-SVN: r87753 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 45f7fe7a9ed..a175283ffdf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-09-20 Kazu Hirata + + * cfg.c, tree-ssa-threadupdate.c, tree-vectorizer.c: Fix + comment typos. + 2004-09-20 Richard Sandiford PR target/17565 diff --git a/gcc/cfg.c b/gcc/cfg.c index b5d28c3bed6..c8f1de51ae4 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 112509f4601..a76ce67633a 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 acabce436e7..33f68ad56d4 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