gcc/testsuite/gcc.c-torture/execute/pr68911.c
raw| 1 | extern void abort (void); |
| 2 | |
| 3 | char a; |
| 4 | int b, c; |
| 5 | short d; |
| 6 | |
| 7 | int main () |
| 8 | { |
| 9 | unsigned e = 2; |
| 10 | unsigned timeout = 0; |
| 11 | |
| 12 | for (; c < 2; c++) |
| 13 | { |
| 14 | int f = ~e / 7; |
| 15 | if (f) |
| 16 | a = e = ~(b && d); |
| 17 | while (e < 94) |
| 18 | { |
| 19 | e++; |
| 20 | if (++timeout > 100) |
| 21 | goto die; |
| 22 | } |
| 23 | } |
| 24 | return 0; |
| 25 | die: |
| 26 | abort (); |
| 27 | } |