gcc/testsuite/gcc.target/i386/pr87065.c
raw| 1 | /* PR rtl-optimization/87065 */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-options "-O3 -mxop -mprefer-vector-width=128" } */ |
| 4 | |
| 5 | int a, c, d, e; |
| 6 | short *b; |
| 7 | |
| 8 | void |
| 9 | foo (void) |
| 10 | { |
| 11 | short *g = b; |
| 12 | int h = 1; |
| 13 | unsigned i; |
| 14 | for (; h <= 1; h++) |
| 15 | g = (short *) &c; |
| 16 | for (; c; c++) |
| 17 | { |
| 18 | for (; i <= 1; i++) |
| 19 | ; |
| 20 | a ^= (a > 0 <= i) + ((e += d) == 0 ?: (*g = 8)); |
| 21 | } |
| 22 | } |