Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr90340-2.c
bloba3cb0cd069cbf1114848b1330752e1ece3bee3f0
1 /* { dg-do compile { target { { x86_64-*-* aarch64-*-* ia64-*-* powerpc64-*-* } && lp64 } } } */
2 /* { dg-options "-Os --param jump-table-max-growth-ratio-for-size=200 --param case-values-threshold=5 -fdump-tree-switchlower1" } */
4 int a;
6 int foo(char c) {
7 switch (c) {
8 case 'c':
9 return a;
10 case 's':
11 return 3;
12 case 'n':
13 return 1;
14 case '%':
15 return -2;
16 case 'o':
17 return a + 2;
18 break;
19 case 'X':
20 case 'x':
21 return 2222;
22 case 'd':
23 case 'i':
24 case 'u':
25 return 3333;
26 default:
27 return 0;
31 /* { dg-final { scan-tree-dump ";; GIMPLE switch case clusters: 37 88 99 100 105 110 111 115 117 120" "switchlower1" } } */