https://gcc.gnu.org/g:44ab31419cf366e889a019a2fe31638c6f093729

commit r14-9708-g44ab31419cf366e889a019a2fe31638c6f093729
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Thu Mar 28 15:12:08 2024 +0100

    predict: Fix comment typo
    
    I've noticed a typo in a comment.
    
    2024-03-28  Jakub Jelinek  <ja...@redhat.com>
    
            * predict.cc (estimate_bb_frequencies): Fix comment typo,
            scalling -> scaling.

Diff:
---
 gcc/predict.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/predict.cc b/gcc/predict.cc
index c1c48bf3df1..43e3694cb42 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)

Reply via email to