1 /* Verify that X86-64 only SSE registers aren't restored on IA-32. */
2 /* { dg-do compile { target i?86-*-* } } */
3 /* { dg-options "-O2 -msse" } */
4 /* { dg-final { scan-assembler-not "xmm8" } } */
6 extern void abort (void);
7 extern void exit (int);
9 void *bar (void *p
, void *q
)
11 if (p
!= (void *) 26 || q
!= (void *) 35)
16 void *foo (void **args
)
18 void *argcookie
= &args
[1];
20 __builtin_return (__builtin_apply (args
[0], &argcookie
,
21 2 * sizeof (void *)));
28 args
[0] = (void *) bar
;
29 args
[1] = (void *) 26;
30 args
[2] = (void *) 35;
31 if (foo (args
) != (void *) 76)