OSDN Git Service

2005-07-18 Andrew Pinski <pinskia@physics.uc.edu>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / 980312-1.c
index 3defda2..edf3cf5 100644 (file)
@@ -1,4 +1,5 @@
-/* { dg-do compile { target i?86-*-* } } */
+/* { dg-do link { target i?86-*-* x86_64-*-* } } */
+/* { dg-require-effective-target ilp32 } */
 /* { dg-options "-O2 -march=pentiumpro" } */
 
 extern __inline  double
@@ -18,3 +19,7 @@ tanh (double __x)
 {
   return  __expm1 (__x) * __sgn1 (-__x);
 }
+main ()
+{
+  return tanh (3.45) != 0;
+}