public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-3670] tree-ssa-tail-merge: Fix a comment typo
@ 2023-09-05 7:34 Jakub Jelinek
0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2023-09-05 7:34 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:f47fcd2a12971543deaae75b7f65dd55e0ef9e35
commit r14-3670-gf47fcd2a12971543deaae75b7f65dd55e0ef9e35
Author: Jakub Jelinek <jakub@redhat.com>
Date: Tue Sep 5 09:34:09 2023 +0200
tree-ssa-tail-merge: Fix a comment typo
I've noticed a typo in a comment, fixed thusly.
2023-09-05 Jakub Jelinek <jakub@redhat.com>
* tree-ssa-tail-merge.cc (replace_block_by): Fix a comment typo:
avreage -> average.
Diff:
---
gcc/tree-ssa-tail-merge.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/tree-ssa-tail-merge.cc b/gcc/tree-ssa-tail-merge.cc
index 33acb649d5d6..8043ad4afe6f 100644
--- a/gcc/tree-ssa-tail-merge.cc
+++ b/gcc/tree-ssa-tail-merge.cc
@@ -1605,7 +1605,7 @@ replace_block_by (basic_block bb1, basic_block bb2)
/* If probabilities are same, we are done.
If counts are nonzero we can distribute accordingly. In remaining
- cases just avreage the values and hope for the best. */
+ cases just average the values and hope for the best. */
e2->probability = e1->probability.combine_with_count
(bb1->count, e2->probability, bb2->count);
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-05 7:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-05 7:34 [gcc r14-3670] tree-ssa-tail-merge: Fix a 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).