Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.c-torture/compile/20180915-1.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
rev | line source |
---|---|
131 | 1 /* PR middle-end/86864 */ |
2 /* Testcase by Serge Belyshev <belyshev@depni.sinp.msu.ru> */ | |
3 | |
4 long a; | |
5 void f (); | |
6 void 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 } |