gcc/testsuite/gcc.c-torture/execute/pr68624.c
raw| 1 | int b, c, d, e = 1, f, g, h, j; |
| 2 | |
| 3 | static int |
| 4 | fn1 () |
| 5 | { |
| 6 | int a = c; |
| 7 | if (h) |
| 8 | return 9; |
| 9 | g = (c || b) % e; |
| 10 | if ((g || f) && b) |
| 11 | return 9; |
| 12 | e = d; |
| 13 | for (c = 0; c > -4; c--) |
| 14 | ; |
| 15 | if (d) |
| 16 | c--; |
| 17 | j = c; |
| 18 | return d; |
| 19 | } |
| 20 | |
| 21 | int |
| 22 | main () |
| 23 | { |
| 24 | fn1 (); |
| 25 | |
| 26 | if (c != -4) |
| 27 | __builtin_abort (); |
| 28 | |
| 29 | return 0; |
| 30 | } |