| 1 |
/* { dg-do compile { target lp64 } } */ |
| 2 |
/* { dg-options "-O2" } */ |
| 3 |
/* { dg-final { scan-assembler-times "movl\[^\n\r]*, %eax|mov\[ \t]*eax," 1 } } */ |
| 4 |
|
| 5 |
typedef struct |
| 6 |
{ |
| 7 |
float x; |
| 8 |
} Float; |
| 9 |
|
| 10 |
Float __attribute__((ms_abi)) fn1 () |
| 11 |
{ |
| 12 |
Float v; |
| 13 |
v.x = 3.145; |
| 14 |
return v; |
| 15 |
} |