projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c55963e
)
Fix comment typo.
author
Steven Bosscher
<steven@gcc.gnu.org>
Sat, 21 Jul 2012 12:31:26 +0000
(12:31 +0000)
committer
Steven Bosscher
<steven@gcc.gnu.org>
Sat, 21 Jul 2012 12:31:26 +0000
(12:31 +0000)
From-SVN: r189745
gcc/tree-switch-conversion.c
patch
|
blob
|
history
diff --git
a/gcc/tree-switch-conversion.c
b/gcc/tree-switch-conversion.c
index 529c6a02ec823a33611c0eb39d9d8a665ae7cbcc..3f4e83d4256b2229d0b3b64d2a9c654447b8421a 100644
(file)
--- 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: