gcc/testsuite/gcc.c-torture/compile/pr53411.c
raw| 1 | /* PR middle-end/53411 */ |
| 2 | /* { dg-require-effective-target untyped_assembly } */ |
| 3 | |
| 4 | int a, b, c, d, e, f, g, h; |
| 5 | void fn1 (void); |
| 6 | int fn2 (void); |
| 7 | |
| 8 | int |
| 9 | fn3 (x) |
| 10 | int x; |
| 11 | { |
| 12 | return a ? 0 : x; |
| 13 | } |
| 14 | |
| 15 | void |
| 16 | fn4 (char x) |
| 17 | { |
| 18 | int i, j, k; |
| 19 | for (; e; e++) |
| 20 | if (fn2 ()) |
| 21 | { |
| 22 | f = 1; |
| 23 | k = 0; |
| 24 | for (; k <= 1; k++) |
| 25 | { |
| 26 | j = ~x; |
| 27 | i = f * j; |
| 28 | h = (fn3 (i | 0 <= c ^ 9L) != b | d) & 8; |
| 29 | g = x | 1; |
| 30 | fn1 (); |
| 31 | } |
| 32 | } |
| 33 | c = x; |
| 34 | } |