gcc/testsuite/gcc.target/i386/pr58759.c
raw| 1 | /* { dg-do run } */ |
| 2 | /* { dg-options "-O2" } */ |
| 3 | |
| 4 | |
| 5 | int a, b, c, d, e, f, h, l, m, n, k, o; |
| 6 | long long g; |
| 7 | |
| 8 | struct S |
| 9 | { |
| 10 | int f1; |
| 11 | int f2; |
| 12 | int f3; |
| 13 | int f4; |
| 14 | }; |
| 15 | |
| 16 | static struct S i = {0,0,0,0}, j; |
| 17 | |
| 18 | void |
| 19 | foo () |
| 20 | { |
| 21 | m = 1 & d; |
| 22 | n = b + c; |
| 23 | o = k >> 1; |
| 24 | f = 0 == e; |
| 25 | } |
| 26 | |
| 27 | int |
| 28 | main () |
| 29 | { |
| 30 | for (; h < 1; h++) |
| 31 | { |
| 32 | g = 1 | (0 > 1 - a ? 0 : a); |
| 33 | foo (); |
| 34 | for (l = 0; l < 3; l++) |
| 35 | j = i; |
| 36 | } |
| 37 | return 0; |
| 38 | } |