diff options
Diffstat (limited to 'gcc/ipa-inline-transform.c')
-rw-r--r-- | gcc/ipa-inline-transform.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ipa-inline-transform.c b/gcc/ipa-inline-transform.c index e547521..e7ec7f9 100644 --- a/gcc/ipa-inline-transform.c +++ b/gcc/ipa-inline-transform.c @@ -105,7 +105,7 @@ can_remove_node_now_p_1 (struct cgraph_node *node, struct cgraph_edge *e) && (!DECL_VIRTUAL_P (node->decl) || !opt_for_fn (node->decl, flag_devirtualize)) /* During early inlining some unanalyzed cgraph nodes might be in the - callgraph and they might reffer the function in question. */ + callgraph and they might refer the function in question. */ && !cgraph_new_nodes.exists ()); } @@ -176,7 +176,7 @@ clone_inlined_nodes (struct cgraph_edge *e, bool duplicate, { /* We may eliminate the need for out-of-line copy to be output. In that case just go ahead and re-use it. This is not just an - memory optimization. Making offline copy of fuction disappear + memory optimization. Making offline copy of function disappear from the program will improve future decisions on inlining. */ if (!e->callee->callers->next_caller /* Recursive inlining never wants the master clone to @@ -192,7 +192,7 @@ clone_inlined_nodes (struct cgraph_edge *e, bool duplicate, need small function inlining to register edge removal hook to maintain the priority queue. - For now we keep the ohter functions in the group in program until + For now we keep the other functions in the group in program until cgraph_remove_unreachable_functions gets rid of them. */ gcc_assert (!e->callee->inlined_to); e->callee->remove_from_same_comdat_group (); |