From fcb38196423cd5f99a7ee44c882751b3dd37618d Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Wed, 19 Jul 2023 13:51:44 +0200 Subject: [PATCH] tree-switch-conversion: Fix a comment typo I've noticed a comment typo, this patch fixes that. 2023-07-19 Jakub Jelinek * tree-switch-conversion.h (class bit_test_cluster): Fix comment typo. --- 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))