aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2023-09-05 09:34:09 +0200
committerJakub Jelinek <jakub@redhat.com>2023-09-05 09:34:09 +0200
commitf47fcd2a12971543deaae75b7f65dd55e0ef9e35 (patch)
tree9dba3d65cc32abc4633608e94740fda565cf9144 /gcc
parent137d6238ccfb06ba16699000619fd4e01e4a6278 (diff)
downloadgcc-f47fcd2a12971543deaae75b7f65dd55e0ef9e35.zip
gcc-f47fcd2a12971543deaae75b7f65dd55e0ef9e35.tar.gz
gcc-f47fcd2a12971543deaae75b7f65dd55e0ef9e35.tar.bz2
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/tree-ssa-tail-merge.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-tail-merge.cc b/gcc/tree-ssa-tail-merge.cc
index 33acb64..8043ad4 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);
}