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