aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/i386-387-5.c
blob: 2c86dd0869a66d59b2d51b99266e67f4cd51e775 (plain)
1
2
3
4
5
6
7
/* Verify that -mno-fancy-math-387 works.  */
/* { dg-do compile { target "i?86-*-*" } } */
/* { dg-options "-O -ffast-math -mfpmath=387 -mno-fancy-math-387 -march=i386" } */
/* { dg-final { scan-assembler "call\t_?atan" } } */

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