1/* { dg-do link { target i?86-*-* x86_64-*-* } } */ 2/* { dg-require-effective-target ilp32 } */ 3/* { dg-options "-O2 -march=pentiumpro" } */ 4 5extern __inline double 6__expm1 (double __x) 7{ 8 double __temp; 9 __temp = 1.0; 10 return __temp; 11} 12extern __inline double 13__sgn1 (double __x) 14{ 15 return __x >= 0.0 ? 1.0 : -1.0; 16} 17double 18tanh (double __x) 19{ 20 return __expm1 (__x) * __sgn1 (-__x); 21} 22main () 23{ 24 return tanh (3.45) != 0; 25} 26