980312-1.c: Do link instead of compile.
authorH.J. Lu <hjl@gnu.org>
Sun, 26 Jul 1998 00:16:26 +0000 (00:16 +0000)
committerJeff Law <law@gcc.gnu.org>
Sun, 26 Jul 1998 00:16:26 +0000 (18:16 -0600)
        * gcc.dg/980312-1.c: Do link instead of compile.
        * gcc.dg/980313-1.c: Likewise.

From-SVN: r21391

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/980312-1.c
gcc/testsuite/gcc.dg/980313-1.c

index b69eebd4653d40cac2a5acf97d0efa0f8ab88e8d..06bf6c62eef6c6b4c272dc24acf17d72b7d7abf2 100644 (file)
@@ -1,3 +1,8 @@
+Sun Jul 26 01:15:56 1998  H.J. Lu  (hjl@gnu.org)
+
+       * gcc.dg/980312-1.c: Do link instead of compile.
+       * gcc.dg/980313-1.c: Likewise.
+
 Sun Jul 26 01:05:02 1998  Jeffrey A Law  (law@cygnus.com)
 
        * gcc.c-torture/compile/980726-1.c: New test.
index 3defda28cce646b8c0e343a75c9b50a443193bdf..8f72c31d341f7859aed266ddb94a0d7179a70771 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do compile { target i?86-*-* } } */
+/* { dg-do link { target i?86-*-* } } */
 /* { dg-options "-O2 -march=pentiumpro" } */
 
 extern __inline  double
@@ -18,3 +18,7 @@ tanh (double __x)
 {
   return  __expm1 (__x) * __sgn1 (-__x);
 }
+main ()
+{
+  return tanh (3.45) != 0;
+}
index 746e4631b08de8b684b764609e384fd13ac4f26a..1036339b076c90899ecfe381d9fb29032344749b 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do compile { target i?86-*-* } } */
+/* { dg-do link { target i?86-*-* } } */
 /* { dg-options "-O2 -march=pentiumpro" } */
 
 extern __inline  double
@@ -19,3 +19,7 @@ tanh (double __x)
   register double __exm1 = __expm1 (__x);
   return __exm1 / (__exm1 + 2.0) * __sgn1 (-__x);
 }
+main ()
+{
+  return tanh (3.45) != 0;
+}