1 /* { dg-options "-O2 -fdump-tree-cfg" } */
2 #include <stdint.h>
3
4 void foo (void);
5 void bar (void);
6
7 void
8 test (uint8_t ch)
9 {
10 switch (ch)
11 {
12 case 0:
13 foo ();
14 break;
15
16 case 1 ... 255:
17 bar ();
18 break;
19 }
20 }
21
22 /* Switch statement is converted to GIMPLE condition. */
23 /* { dg-final { scan-tree-dump-not "switch" "cfg" } } */