public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] predict: Fix comment typo
@ 2024-03-28 14:14 Jakub Jelinek
  0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2024-03-28 14:14 UTC (permalink / raw)
  To: gcc-patches

Hi!

I've noticed a typo in a comment.

Fixed thusly, committed to trunk as obvious.

2024-03-28  Jakub Jelinek  <jakub@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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-28 14:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-28 14:14 [committed] predict: Fix comment typo Jakub Jelinek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).