2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / 387-12.c
blob62c1d483c278a057f5afb5b1290d705ffe9eaa0d
1 /* PR target/26915 */
2 /* { dg-do compile } */
3 /* { dg-options "-O -mfpmath=387 -mfancy-math-387" } */
5 double testm0(void)
7 return -0.0;
10 double testm1(void)
12 return -1.0;
15 /* { dg-final { scan-assembler "fldz" } } */
16 /* { dg-final { scan-assembler "fld1" } } */