aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-switch-conversion.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2023-07-19 13:51:44 +0200
committerJakub Jelinek <jakub@redhat.com>2023-07-19 13:51:44 +0200
commitfcb38196423cd5f99a7ee44c882751b3dd37618d (patch)
tree68de4150e60a6a49d008962cdcb1b03e9a4e738d /gcc/tree-switch-conversion.h
parentece799607c841676f4e00c2fea98bbec6976da3f (diff)
downloadgcc-fcb38196423cd5f99a7ee44c882751b3dd37618d.zip
gcc-fcb38196423cd5f99a7ee44c882751b3dd37618d.tar.gz
gcc-fcb38196423cd5f99a7ee44c882751b3dd37618d.tar.bz2
tree-switch-conversion: Fix a comment typo
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.
Diffstat (limited to 'gcc/tree-switch-conversion.h')
-rw-r--r--gcc/tree-switch-conversion.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-switch-conversion.h b/gcc/tree-switch-conversion.h
index 4e97164..a8a564a 100644
--- a/gcc/tree-switch-conversion.h
+++ b/gcc/tree-switch-conversion.h
@@ -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))