This commit was manufactured by cvs2svn to create branch
[official-gcc.git] / gcc / testsuite / gcc.dg / i386-387-7.c
blob210917ad415acec080b5480b6ce5cfdb130f42f9
1 /* Verify that 387 fsincos instruction is generated. */
2 /* { dg-do compile { target "i?86-*-*" } } */
3 /* { dg-options "-O -ffast-math -march=i686" } */
4 /* { dg-final { scan-assembler "fsincos" } } */
6 extern double sin (double);
7 extern double cos (double);
9 double f1(double x)
11 return sin(x) + cos (x);