OSDN Git Service

Merge tree-ssa-20020619-branch into mainline.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / i386-387-8.c
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" } } */
7
8 double f1(double x)
9 {
10   return 1.0 / tan(x);
11 }
12