OSDN Git Service

Target Hook to issue diagnostics for AltiVec argument to funtion
[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 extern double tan (double);
9
10 double f1(double x)
11 {
12   return 1.0 / tan(x);
13 }
14