summaryrefslogtreecommitdiff
path: root/gcc/tree-switch-conversion.c
diff options
context:
space:
mode:
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2012-07-21 12:31:26 +0000
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2012-07-21 12:31:26 +0000
commitd8ab4f2a39833d0206f9d3207c161209074c4564 (patch)
tree97a5fbb801fea17f958efc939a32165cfbfcf922 /gcc/tree-switch-conversion.c
parent5c8affdcd1df8abb4e04793f620df13bfa3bc4bf (diff)
downloadgcc-d8ab4f2a39833d0206f9d3207c161209074c4564.tar.gz
Fix comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189745 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-switch-conversion.c')
-rw-r--r--gcc/tree-switch-conversion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-switch-conversion.c b/gcc/tree-switch-conversion.c
index 529c6a02ec8..3f4e83d4256 100644
--- a/gcc/tree-switch-conversion.c
+++ b/gcc/tree-switch-conversion.c
@@ -176,7 +176,7 @@ as a single bit test:
if ((1<<x) & ((1<<4)|(1<<6)|(1<<9)|(1<<11)))
This transformation is only applied if the number of case targets is small,
-if CST constains at least 3 bits, and "x << 1" is cheap. The bit tests are
+if CST constains at least 3 bits, and "1 << x" is cheap. The bit tests are
performed in "word_mode".
The following example shows the code the transformation generates: