aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2024-03-28 15:12:08 +0100
committerJakub Jelinek <jakub@redhat.com>2024-03-28 15:12:08 +0100
commit44ab31419cf366e889a019a2fe31638c6f093729 (patch)
treee644e4a6255bd4eb2d7aa42d18394a145a048e91
parentd5a3b4afcdf4d517334a2717dbb65ae0d2c26507 (diff)
downloadgcc-44ab31419cf366e889a019a2fe31638c6f093729.zip
gcc-44ab31419cf366e889a019a2fe31638c6f093729.tar.gz
gcc-44ab31419cf366e889a019a2fe31638c6f093729.tar.bz2
predict: Fix comment typo
I've noticed a typo in a comment. 2024-03-28 Jakub Jelinek <jakub@redhat.com> * predict.cc (estimate_bb_frequencies): Fix comment typo, scalling -> scaling.
-rw-r--r--gcc/predict.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/predict.cc b/gcc/predict.cc
index c1c48bf..43e3694 100644
--- a/gcc/predict.cc
+++ b/gcc/predict.cc
@@ -4035,7 +4035,7 @@ estimate_bb_frequencies ()
/* Scaling frequencies up to maximal profile count may result in
frequent overflows especially when inlining loops.
- Small scalling results in unnecesary precision loss. Stay in
+ Small scaling results in unnecesary precision loss. Stay in
the half of the (exponential) range. */
freq_max = (sreal (1) << (profile_count::n_bits / 2)) / freq_max;
if (freq_max < 16)