Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.c-torture/compile/pr71916.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* PR rtl-optimization/71916 */ |
2 | |
3 int a, b, c, d, f, g; | |
4 short h; | |
5 | |
6 short | |
7 foo (short p1) | |
8 { | |
9 return a >= 2 || p1 > 7 >> a ? p1 : p1 << a; | |
10 } | |
11 | |
12 void | |
13 bar (void) | |
14 { | |
15 for (;;) | |
16 { | |
17 int i, j[3]; | |
18 h = b >= 2 ? d : d >> b; | |
19 if (foo (f > h ^ c)) | |
20 { | |
21 d = 0; | |
22 while (f <= 2) | |
23 { | |
24 char k[2]; | |
25 for (;;) | |
26 k[i++] = 7; | |
27 } | |
28 } | |
29 else | |
30 for (;;) | |
31 g = j[2]; | |
32 if (g) | |
33 for (;;) | |
34 ; | |
35 } | |
36 } |