aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2018-01-19 00:22:33 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2018-01-19 00:22:33 +0000
commit502a18ca457465a358e9a595fc9071a5f065fb4a (patch)
tree499c44919381f048bfa3151cb672156883633921
parent90e04a348bab19be91a5421de851fb1099ca57be (diff)
downloadgcc-502a18ca457465a358e9a595fc9071a5f065fb4a.zip
gcc-502a18ca457465a358e9a595fc9071a5f065fb4a.tar.gz
gcc-502a18ca457465a358e9a595fc9071a5f065fb4a.tar.bz2
pr52451.c (main): Skip long double test on hppa*-*-hpux*.
* gcc.dg/torture/pr52451.c (main): Skip long double test on hppa*-*-hpux*. From-SVN: r256871
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/torture/pr52451.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 2e24761..1148705 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
diff --git a/gcc/testsuite/gcc.dg/torture/pr52451.c b/gcc/testsuite/gcc.dg/torture/pr52451.c
index 81a3d4d..1a2ece9 100644
--- a/gcc/testsuite/gcc.dg/torture/pr52451.c
+++ b/gcc/testsuite/gcc.dg/torture/pr52451.c
@@ -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;
}