1 /* PR debug/99230 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 --param logical-op-non-short-circuit=0 -fcompare-debug --param=jump-table-max-growth-ratio-for-speed=5000" } */
4
5 extern void fn2 (void);
6 extern void fn3 (int);
7 int a, b;
8 void
fn1(void)9 fn1 (void)
10 {
11 int c;
12 short d;
13 switch (a) {
14 case 22000:
15 fn2 ();
16 case 22300:
17 b = 0;
18 case 22600:
19 case 22601:
20 case 22900:
21 fn3 (1);
22 case 20100:
23 fn3 (2);
24 case 20200:
25 fn3 (3);
26 case 20300:
27 fn3 (4);
28 case 20400:
29 fn3 (5);
30 case 20310:
31 fn3 (4);
32 case 20410:
33 fn3 (5);
34 }
35 if (d || c) {
36 do
37 ;
38 while (0);
39 }
40 }
41