From 44ab31419cf366e889a019a2fe31638c6f093729 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 28 Mar 2024 15:12:08 +0100 Subject: [PATCH] predict: Fix comment typo I've noticed a typo in a comment. 2024-03-28 Jakub Jelinek * predict.cc (estimate_bb_frequencies): Fix comment typo, scalling -> scaling. --- gcc/predict.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/predict.cc b/gcc/predict.cc index c1c48bf3df1e..43e3694cb420 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) -- 2.47.2