1 /* Test the absence of a spurious move from x8 to x0 for functions
3 /* { dg-do compile } */
4 /* { dg-options "-O2" } */
13 struct s
__attribute__((noinline
))
14 foo (long a
, long d
, long c
)
27 x
= foo ( 10, 20, 30);
28 return x
.x
+ x
.y
+ x
.z
;
31 /* { dg-final { scan-assembler-not "mov\tx0, x8" } } */