gcc/testsuite/gcc.dg/torture/pr53168.c
raw| 1 | /* { dg-do compile } */ |
| 2 | |
| 3 | int a, b, c; |
| 4 | unsigned *d; |
| 5 | int e[1]; |
| 6 | void fn1 (); |
| 7 | int fn2 (); |
| 8 | int |
| 9 | fn3 () |
| 10 | { |
| 11 | int *f = &a; |
| 12 | if (fn2 ()) |
| 13 | { |
| 14 | for (; c; c++) |
| 15 | { |
| 16 | e[a] && (b = 0); |
| 17 | fn1 (); |
| 18 | if (e[a]) |
| 19 | return 0; |
| 20 | } |
| 21 | for (; c <= 0; c++) |
| 22 | for (;;) |
| 23 | ; |
| 24 | } |
| 25 | else |
| 26 | e[0] = 0 != (d = f); |
| 27 | return *d; |
| 28 | } |