1 /* { dg-do compile } */
2 /* { dg-options "-msse2 -O2" } */
3 /* { dg-require-effective-target ia32 } */
4 
5 /* Make sure we know that mysinfp returns in %xmm0.  */
6 
7 double __attribute__((sseregparm)) mysin(void);
8 double __attribute__((sseregparm)) (*mysinfp)(void) = mysin;
bar(double x)9 double bar(double x)
10 {
11   return mysinfp();
12 }
13 
14 /* { dg-final { scan-assembler "fldl" } } */
15