gcc/testsuite/gcc.c-torture/execute/pr58431.c
raw| 1 | char a, h; |
| 2 | int b, d, e, g, j, k; |
| 3 | volatile int c; |
| 4 | short i; |
| 5 | |
| 6 | int |
| 7 | main () |
| 8 | { |
| 9 | int m; |
| 10 | |
| 11 | m = i ^= 1; |
| 12 | for (b = 0; b < 1; b++) |
| 13 | { |
| 14 | char o = m; |
| 15 | g = k; |
| 16 | j = j || c; |
| 17 | if (a != o) |
| 18 | for (; d < 1; d++) |
| 19 | ; |
| 20 | else |
| 21 | { |
| 22 | char *p = &h; |
| 23 | *p = 1; |
| 24 | for (; e; e++) |
| 25 | ; |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | if (h != 0) |
| 30 | __builtin_abort(); |
| 31 | |
| 32 | return 0; |
| 33 | } |