pr52451.c (main): Skip long double test on hppa*-*-hpux*.
authorJohn David Anglin <danglin@gcc.gnu.org>
Fri, 19 Jan 2018 00:22:33 +0000 (00:22 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Fri, 19 Jan 2018 00:22:33 +0000 (00:22 +0000)
* gcc.dg/torture/pr52451.c (main): Skip long double test on
hppa*-*-hpux*.

From-SVN: r256871

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr52451.c

index 2e24761..1148705 100644 (file)
@@ -1,3 +1,8 @@
+2018-01-18  John David Anglin  <danglin@gcc.gnu.org>
+
+       * gcc.dg/torture/pr52451.c (main): Skip long double test on
+       hppa*-*-hpux*.
+
 2018-01-18  Jakub Jelinek  <jakub@redhat.com>
 
        PR ipa/83619
index 81a3d4d..1a2ece9 100644 (file)
@@ -49,7 +49,11 @@ main (void)
 
   TEST (float, f);
   TEST (double, );
+#if !defined(__hppa__) || !defined(__hpux__)
+  /* Long double on hppa*-hpux* is implemented in software and the routines
+     in fenv.h do not support it.  */
   TEST (long double, l);
+#endif
   
   return 0;
 }