summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/i386-387-6.c
blob: 8eb29a11320b3ef5e53e58f88e624efc94e9fe78 (plain)
1
2
3
4
5
6
/* Verify that -march overrides -mno-fancy-math-387.  */
/* { dg-do compile { target "i?86-*-*" } } */
/* { dg-options "-O -ffast-math -mfpmath=387 -march=i686 -mno-fancy-math-387" } */
/* { dg-final { scan-assembler "fpatan" } } */

double f1(double x) { return __builtin_atan(x); }