libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / if-to-switch-3.c
bloba55231b33411db73157cf8070b3b81c0eda41089
1 /* { dg-do compile } */
2 /* Supplying case-values-threshold makes the testcase less target dependent. */
3 /* { dg-options "-O2 -fdump-tree-iftoswitch-optimized --param case-values-threshold=4" } */
5 int IsMySuperRandomChar(int aChar)
7 return aChar == 0x0009 || aChar == 0x000A ||
8 aChar == 0x000C || aChar == 0x000D ||
9 aChar == 0x0020 || aChar == 0x0030;
12 /* { dg-final { scan-tree-dump "Condition chain with \[^\n\r]\* BBs transformed into a switch statement." "iftoswitch" } } */