1 /* { dg-do compile { target ia32 } } */ 2 /* { dg-options "-O2" } */ 3 /* { dg-final { scan-assembler-times "movl\[^\n\r]*, %eax" 1 } } */ 4 /* { dg-final { scan-assembler-times "flds\[^\n\r]*" 1 } } */ 5 typedef struct 6 { 7 float x; 8 } Float; 9 fn1()10Float __attribute__((ms_abi)) fn1 () 11 { 12 Float v; 13 v.x = 3.145; 14 return v; 15 } 16 fn2()17float __attribute__((ms_abi)) fn2 () 18 { 19 float v; 20 v = 3.145; 21 return v; 22 } 23