Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / gcc.dg / 980312-1.c
blobedf3cf5d79d0ccbe1bbd4ba8ea6ba74d5971fbea
1 /* { dg-do link { target i?86-*-* x86_64-*-* } } */
2 /* { dg-require-effective-target ilp32 } */
3 /* { dg-options "-O2 -march=pentiumpro" } */
5 extern __inline double
6 __expm1 (double __x)
8 double __temp;
9 __temp = 1.0;
10 return __temp;
12 extern __inline double
13 __sgn1 (double __x)
15 return __x >= 0.0 ? 1.0 : -1.0;
17 double
18 tanh (double __x)
20 return __expm1 (__x) * __sgn1 (-__x);
22 main ()
24 return tanh (3.45) != 0;