| 1 |
/* { dg-do compile } */ |
| 2 |
|
| 3 |
int a, b, c, e, h, j; |
| 4 |
char d; |
| 5 |
short f, g; |
| 6 |
static short fn2(int p1) { |
| 7 |
for (;;) |
| 8 |
for (; g; g++) |
| 9 |
if (p1) |
| 10 |
break; |
| 11 |
} |
| 12 |
|
| 13 |
static short fn3(void); |
| 14 |
static char fn4(char p1) { |
| 15 |
int i; |
| 16 |
for (; d;) |
| 17 |
f = 8; |
| 18 |
for (; f; f = 0) |
| 19 |
for (; i; i++) { |
| 20 |
j = 0; |
| 21 |
for (; j; j++) |
| 22 |
; |
| 23 |
} |
| 24 |
} |
| 25 |
|
| 26 |
static short fn1(short p1) { fn2(b || fn3()); } |
| 27 |
|
| 28 |
short fn3(void) { |
| 29 |
if (c) { |
| 30 |
fn4(e); |
| 31 |
h = 0; |
| 32 |
for (;; h++) |
| 33 |
; |
| 34 |
} |
| 35 |
} |
| 36 |
|
| 37 |
int main() { |
| 38 |
for (; a;) |
| 39 |
fn1(c); |
| 40 |
return 0; |
| 41 |
} |