aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-inline.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2019-11-21 10:39:47 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2019-11-21 10:39:47 +0100
commite4112065b05e7667ad69e35125c755a7ef4060dc (patch)
tree2f204484db7f45eece1387d639910717fee34f31 /gcc/ipa-inline.c
parenta877996fa38034348c569f2fe1651e88a99df737 (diff)
downloadgcc-e4112065b05e7667ad69e35125c755a7ef4060dc.zip
gcc-e4112065b05e7667ad69e35125c755a7ef4060dc.tar.gz
gcc-e4112065b05e7667ad69e35125c755a7ef4060dc.tar.bz2
ipa-fnsummary.h (enum ipa_hints_vals): Fix comment typo, preffer -> prefer.
* ipa-fnsummary.h (enum ipa_hints_vals): Fix comment typo, preffer -> prefer. * ipa-inline.c (edge_badness): Likewise. * lto-streamer.h (class lto_location_cache): Likewise. * tree-ssa-sink.c (select_best_block): Likewise. Fix comment typos, gratutious -> gratuitous. From-SVN: r278546
Diffstat (limited to 'gcc/ipa-inline.c')
-rw-r--r--gcc/ipa-inline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c
index 6da3e96..3cd1779 100644
--- a/gcc/ipa-inline.c
+++ b/gcc/ipa-inline.c
@@ -1265,7 +1265,7 @@ edge_badness (struct cgraph_edge *edge, bool dump)
}
if (overall_growth > 0)
{
- /* Strongly preffer functions with few callers that can be inlined
+ /* Strongly prefer functions with few callers that can be inlined
fully. The square root here leads to smaller binaries at average.
Watch however for extreme cases and return to linear function
when growth is large. */