gcc/testsuite/gcc.dg/torture/pr79187.c
raw| 1 | /* { dg-do run } */ |
| 2 | |
| 3 | int printf (const char *, ...); |
| 4 | |
| 5 | int a, b = -600, c, d[] = { 0 }, e, f, g = -1, h; |
| 6 | unsigned i = ~0; |
| 7 | |
| 8 | int main () |
| 9 | { |
| 10 | for (; h < 2; h++) |
| 11 | { |
| 12 | if (a > 0) |
| 13 | printf ("%d\n", d[b]); |
| 14 | f = ~(b % i); |
| 15 | c = g | (f && g) && e | b; |
| 16 | a = ~(~g & b); |
| 17 | } |
| 18 | return 0; |
| 19 | } |