]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tree-ssa-tail-merge: Fix a comment typo
authorJakub Jelinek <jakub@redhat.com>
Tue, 5 Sep 2023 07:34:09 +0000 (09:34 +0200)
committerJakub Jelinek <jakub@redhat.com>
Tue, 5 Sep 2023 07:34:09 +0000 (09:34 +0200)
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.

gcc/tree-ssa-tail-merge.cc

index 33acb649d5d68dd0343f01bb1323bff77ccd92dd..8043ad4afe6fe4678482950ae214da413b39019c 100644 (file)
@@ -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);
       }