Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git] / gcc / testsuite / gcc.target / i386 / excess-precision-6.c
blobfb8d57232121a11931e22dca7b4d5e633a4d8246
1 /* Excess precision tests. Make sure sqrt is not inlined for float or
2 double. */
3 /* { dg-do compile } */
4 /* { dg-options "-mfpmath=387 -O2 -fno-math-errno -fexcess-precision=standard" } */
6 float f;
7 double d;
9 float fr;
10 double dr;
12 void
13 test_builtins (void)
15 fr = __builtin_sqrtf (f);
16 dr = __builtin_sqrt (d);
19 /* { dg-final { scan-assembler-not "fsqrt" } } */