summaryrefslogtreecommitdiff
path: root/gcc/ipa-inline.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ipa-inline.c')
-rw-r--r--gcc/ipa-inline.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c
index c3482edf087..c45d4701da2 100644
--- a/gcc/ipa-inline.c
+++ b/gcc/ipa-inline.c
@@ -777,7 +777,7 @@ edge_badness (struct cgraph_edge *edge, bool dump)
edge_growth
badness = -goodness
- The fraction is upside down, becuase on edge counts and time beneits
+ The fraction is upside down, because on edge counts and time beneits
the bounds are known. Edge growth is essentially unlimited. */
else if (max_count)
@@ -1369,7 +1369,7 @@ inline_small_functions (void)
continue;
/* Be sure that caches are maintained consistent.
- We can not make this ENABLE_CHECKING only because it cause differnt
+ We can not make this ENABLE_CHECKING only because it cause different
updates of the fibheap queue. */
cached_badness = edge_badness (edge, false);
reset_edge_growth_cache (edge);