gcc/testsuite/gcc.dg/torture/pr116579.c
raw| 1 | /* { dg-do run } */ |
| 2 | /* { dg-additional-options "-fno-thread-jumps" } */ |
| 3 | |
| 4 | |
| 5 | int a, c, d, e; |
| 6 | char b; |
| 7 | long f; |
| 8 | int main() { |
| 9 | unsigned char g; |
| 10 | int h = -2, i = 0; |
| 11 | g = a + 128; |
| 12 | d = 0 <= (c || (h = g)); |
| 13 | f = h < 0 || i >= 32 ? h : 0; |
| 14 | (b = h) | (e = f); |
| 15 | if (e != 0) |
| 16 | __builtin_abort(); |
| 17 | return 0; |
| 18 | } |