* gcc.dg/const-elim-1.c: Remove xfail for xtensa-*-*.
[official-gcc.git] / gcc / testsuite / gcc.dg / i386-387-8.c
blob67c16d92c184c7f9874faaa48cb75a6248132155
1 /* Verify that 387 fptan instruction is generated. Also check fptan
2 peephole2 optimizer. */
3 /* { dg-do compile { target "i?86-*-*" } } */
4 /* { dg-options "-O2 -ffast-math -march=i686" } */
5 /* { dg-final { scan-assembler "fptan" } } */
6 /* { dg-final { scan-assembler-not "fld1" } } */
8 extern double tan (double);
10 double f1(double x)
12 return 1.0 / tan(x);