c++: Fix ICE with #embed/RAW_DATA_CST after list conversion [PR118671]
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / if-to-switch-9.c
blobce6dc341deda57502bfb4179e20de5c43f6652c2
1 /* PR tree-optimization/88702 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fdump-tree-iftoswitch-optimized" } */
4 /* { dg-additional-options "--param=case-values-threshold=3" { target { avr-*-* } } } */
6 int IsHTMLWhitespace(int aChar) {
7 return aChar == 0x0009 || aChar == 0x000A ||
8 aChar == 0x000C || aChar == 0x000D ||
9 aChar == 0x0020;
12 /* { dg-final { scan-tree-dump "Condition chain with \[^\n\r]\* BBs transformed into a switch statement." "iftoswitch" } } */