1 /* PR middle-end/86864 */ 2 /* Testcase by Serge Belyshev <belyshev@depni.sinp.msu.ru> */ 3 4 long a; 5 void f (); g(int b,int c,int d)6void g (int b, int c, int d) 7 { 8 switch (b) 9 { 10 case 42: 11 case 29: 12 case 48: 13 case 40: 14 case 32: 15 c = 2; 16 break; 17 case 0: 18 c = 1; 19 break; 20 default: 21 __builtin_unreachable (); 22 } 23 if (d || a) 24 f (); 25 if (c == 1) 26 f (); 27 } 28