]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tree-switch-conversion: Fix a comment typo
authorJakub Jelinek <jakub@redhat.com>
Wed, 19 Jul 2023 11:51:44 +0000 (13:51 +0200)
committerJakub Jelinek <jakub@redhat.com>
Wed, 19 Jul 2023 11:51:44 +0000 (13:51 +0200)
I've noticed a comment typo, this patch fixes that.

2023-07-19  Jakub Jelinek  <jakub@redhat.com>

* tree-switch-conversion.h (class bit_test_cluster): Fix comment typo.

gcc/tree-switch-conversion.h

index 4e97164e0ef13c5c208be1af9883d0e40ed00efc..a8a564ad73fe0a6bbbb7225cec17d8643a3bfe30 100644 (file)
@@ -303,7 +303,7 @@ public:
 /* A GIMPLE switch statement can be expanded to a short sequence of bit-wise
 comparisons.  "switch(x)" is converted into "if ((1 << (x-MINVAL)) & CST)"
 where CST and MINVAL are integer constants.  This is better than a series
-of compare-and-banch insns in some cases,  e.g. we can implement:
+of compare-and-branch insns in some cases,  e.g. we can implement:
 
        if ((x==4) || (x==6) || (x==9) || (x==11))