blob: 5953ef34e9b5eb1da5f2cc5d9cb67050a6741870 [file] [log] [blame]
/* { dg-do compile { target { { x86_64-*-* aarch64-*-* ia64-*-* powerpc64-*-* } && lp64 } } } */
/* { dg-options "-O2 -fno-bit-tests -fdump-tree-switchlower1" } */
int global;
int foo (int x)
{
switch (x) {
case 0:
case 10:
return 1;
case 20:
case 30:
case 62:
return 2;
case 1000:
case 1010:
case 1025 ... 1030:
return 1;
default:
return 0;
}
}
/* { dg-final { scan-tree-dump-not "BT:" "switchlower1" } } */