Hi!

I've noticed a typo in a comment.

Fixed thusly, committed to trunk as obvious.

2024-03-28  Jakub Jelinek  <ja...@redhat.com>

        * predict.cc (estimate_bb_frequencies): Fix comment typo,
        scalling -> scaling.

--- gcc/predict.cc.jj   2024-01-18 08:44:33.593917768 +0100
+++ gcc/predict.cc      2024-03-28 14:20:22.642724959 +0100
@@ -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)

        Jakub

Reply via email to