public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-2643] tree-switch-conversion: Fix a comment typo
@ 2023-07-19 11:52 Jakub Jelinek
0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2023-07-19 11:52 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:fcb38196423cd5f99a7ee44c882751b3dd37618d
commit r14-2643-gfcb38196423cd5f99a7ee44c882751b3dd37618d
Author: Jakub Jelinek <jakub@redhat.com>
Date: Wed Jul 19 13:51:44 2023 +0200
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.
Diff:
---
gcc/tree-switch-conversion.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/tree-switch-conversion.h b/gcc/tree-switch-conversion.h
index 4e97164e0ef..a8a564ad73f 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))
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-07-19 11:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-19 11:52 [gcc r14-2643] tree-switch-conversion: 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).