diff options
author | Nathan Froyd <froydnj@codesourcery.com> | 2011-02-11 15:16:46 +0000 |
---|---|---|
committer | Nathan Froyd <froydnj@gcc.gnu.org> | 2011-02-11 15:16:46 +0000 |
commit | 61502ca83754695ad954c8872379ae566f8e21e9 (patch) | |
tree | fb74d6c5685edc7c6aad61bcc6ec5436740ac374 /gcc/cgraphunit.c | |
parent | d50c5e0c692b85447c059144c5ccff0f67c07854 (diff) | |
download | gcc-61502ca83754695ad954c8872379ae566f8e21e9.zip gcc-61502ca83754695ad954c8872379ae566f8e21e9.tar.gz gcc-61502ca83754695ad954c8872379ae566f8e21e9.tar.bz2 |
cgraph.c: Fix comment typos.
* cgraph.c: Fix comment typos.
* cgraph.h: Likewise.
* cgraphunit.c: Likewise.
* ipa-cp.c: Likewise.
* ipa-inline.c: Likewise.
* ipa-prop.c: Likewise.
* ipa-pure-const.c: Likewise.
* ipa-ref.c: Likewise.
* ipa-reference.c: Likewise.
From-SVN: r170052
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r-- | gcc/cgraphunit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index fdff7e39..7a10ef4 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -364,7 +364,7 @@ cgraph_finalize_function (tree decl, bool nested) || DECL_STATIC_CONSTRUCTOR (decl) || DECL_STATIC_DESTRUCTOR (decl) /* COMDAT virtual functions may be referenced by vtable from - other compilatoin unit. Still we want to devirtualize calls + other compilation unit. Still we want to devirtualize calls to those so we need to analyze them. FIXME: We should introduce may edges for this purpose and update their handling in unreachable function removal and inliner too. */ @@ -431,7 +431,7 @@ verify_edge_count_and_frequency (struct cgraph_edge *e) != compute_call_stmt_bb_frequency (e->caller->decl, gimple_bb (e->call_stmt)))) { - error ("caller edge frequency %i does not match BB freqency %i", + error ("caller edge frequency %i does not match BB frequency %i", e->frequency, compute_call_stmt_bb_frequency (e->caller->decl, gimple_bb (e->call_stmt))); @@ -1550,7 +1550,7 @@ cgraph_expand_function (struct cgraph_node *node) alias && alias->next; alias = alias->next) ; /* Walk aliases in the order they were created; it is possible that - thunks reffers to the aliases made earlier. */ + thunks refers to the aliases made earlier. */ for (; alias; alias = next) { next = alias->previous; @@ -2328,7 +2328,7 @@ cgraph_materialize_all_clones (void) { if (cgraph_dump_file) { - fprintf (cgraph_dump_file, "clonning %s to %s\n", + fprintf (cgraph_dump_file, "cloning %s to %s\n", cgraph_node_name (node->clone_of), cgraph_node_name (node)); if (node->clone.tree_map) |