gcc/testsuite/gcc.target/i386/pr111267.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O2" } */ |
| 3 | struct S { float a, b, c, d; }; |
| 4 | |
| 5 | int |
| 6 | bar (struct S x, struct S y) |
| 7 | { |
| 8 | return x.b <= y.d && x.c >= y.a; |
| 9 | } |
| 10 | |
| 11 | /* { dg-final { scan-assembler-not "movq" } } */ |
| 12 | /* { dg-final { scan-assembler-not "xchgq" } } */ |
| 13 | /* { dg-final { scan-assembler-not "shrq" } } */ |
| 14 | /* { dg-final { scan-assembler-not "movd" } } */ |