gcc/testsuite/gcc.c-torture/compile/pr53519.c
raw| 1 | /* PR rtl-optimization/53519 */ |
| 2 | |
| 3 | int a, b, c, d, e; |
| 4 | |
| 5 | short int |
| 6 | foo (short int x) |
| 7 | { |
| 8 | return a == 0 ? x : 0; |
| 9 | } |
| 10 | |
| 11 | short int |
| 12 | bar (int x, int y) |
| 13 | { |
| 14 | return x + y; |
| 15 | } |
| 16 | |
| 17 | void |
| 18 | baz (void) |
| 19 | { |
| 20 | if (!e) |
| 21 | { |
| 22 | int f = foo (65535 ^ b); |
| 23 | if (bar (!6L <= ~f, ~e) == c) |
| 24 | d = 0; |
| 25 | } |
| 26 | } |