]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
predict: Fix comment typo
authorJakub Jelinek <jakub@redhat.com>
Thu, 28 Mar 2024 14:12:08 +0000 (15:12 +0100)
committerJakub Jelinek <jakub@redhat.com>
Thu, 28 Mar 2024 14:12:08 +0000 (15:12 +0100)
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.

gcc/predict.cc

index c1c48bf3df1e1136e10d303e83062137a33f738b..43e3694cb42027404c4726aa7cc0b2c33da0705c 100644 (file)
@@ -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)