OSDN Git Service

* c-decl.c (declspecs_add_type): Don't pedwarn for _Complex in
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / 980312-1.c
1 /* { dg-do link { target i?86-*-* } } */
2 /* { dg-options "-O2 -march=pentiumpro" } */
3
4 extern __inline  double
5 __expm1 (double __x)
6 {
7   double __temp;
8   __temp = 1.0;
9   return __temp;
10 }
11 extern __inline  double
12 __sgn1 (double __x)
13 {
14   return __x >= 0.0 ? 1.0 : -1.0;
15 }
16 double
17 tanh (double __x)
18 {
19   return  __expm1 (__x) * __sgn1 (-__x);
20 }
21 main ()
22 {
23   return tanh (3.45) != 0;
24 }