| 1 |
/* PR target/117165 */ |
| 2 |
/* { dg-do compile } */ |
| 3 |
/* { dg-options "-msoft-float" } */ |
| 4 |
|
| 5 |
void |
| 6 |
foo () |
| 7 |
{ |
| 8 |
__builtin_ia32_fnstsw (); /* { dg-error "implicit declaration of function" } */ |
| 9 |
} |
| 10 |
|
| 11 |
void |
| 12 |
bar () |
| 13 |
{ |
| 14 |
__builtin_ia32_fnclex (); /* { dg-error "implicit declaration of function" } */ |
| 15 |
} |
| 16 |
|
| 17 |
void |
| 18 |
baz () |
| 19 |
{ |
| 20 |
__builtin_ia32_fnstenv (0); /* { dg-error "implicit declaration of function" } */ |
| 21 |
} |
| 22 |
|
| 23 |
void |
| 24 |
qux () |
| 25 |
{ |
| 26 |
__builtin_ia32_fldenv (0); /* { dg-error "implicit declaration of function" } */ |
| 27 |
} |