1 /* Verify that -march overrides -mno-fancy-math-387. */
2 /* { dg-do compile { target "i?86-*-*" } } */
3 /* { dg-options "-O -ffast-math -mfpmath=387 -march=i686 -mno-fancy-math-387" } */
4 /* { dg-final { scan-assembler "fsin" } } */
5 /* { dg-final { scan-assembler "fcos" } } */
6 /* { dg-final { scan-assembler "fsqrt" } } */
8 double f1(double x
) { return __builtin_sin(x
); }
9 double f2(double x
) { return __builtin_cos(x
); }
10 double f3(double x
) { return __builtin_sqrt(x
); }