gcc/testsuite/gcc.c-torture/execute/pr111408.c
raw| 1 | /* PR target/111408 */ |
| 2 | |
| 3 | int a, b, c, d; |
| 4 | short e; |
| 5 | |
| 6 | int |
| 7 | foo () |
| 8 | { |
| 9 | c = a % (sizeof (int) * 8); |
| 10 | if (b & 1 << c) |
| 11 | return -1; |
| 12 | return 0; |
| 13 | } |
| 14 | |
| 15 | int |
| 16 | main () |
| 17 | { |
| 18 | for (; e != 1; e++) |
| 19 | { |
| 20 | int g = foo (); |
| 21 | if (g + d - 9 + d) |
| 22 | continue; |
| 23 | for (;;) |
| 24 | __builtin_abort (); |
| 25 | } |
| 26 | } |