Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr85667-6.c

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