1 2 3 4 5 6 7 8 9 10 11 12 13
/* { dg-do compile } */ /* { dg-options "-O2" } */ struct P2d { double x, y; }; double sumxy_p(P2d p) { return p.x + p.y; } /* { dg-final { scan-assembler-not "movq" } } */ /* { dg-final { scan-assembler-not "xchg" } } */