blob: 9e5926745b88c39a3a2309fe7b10949a3ed5da96 [file] [log] [blame]
/* { 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" } } */