On 2018-01-18 2:44 PM, John David Anglin wrote:
I don't have hpux or hppa-linux fenv.h, so can't check pr52451.c.
Will have to investigate. I see they predate your patch.
This is a test issue. The long double support on hpux is a software
emulation
and it's not supported the fenv.h routines.
Is this change okay?
Dave
--
John David Anglin dave.ang...@bell.net
2018-01-18 John David Anglin <dang...@gcc.gnu.org>
* gcc.dg/torture/pr52451.c (main): Skip long double test on
hppa*-*-hpux*.
Index: gcc.dg/torture/pr52451.c
===================================================================
--- gcc.dg/torture/pr52451.c (revision 256744)
+++ gcc.dg/torture/pr52451.c (working copy)
@@ -49,7 +49,9 @@
TEST (float, f);
TEST (double, );
+#if !defined(__hppa__) || !defined(__hpux__)
TEST (long double, l);
+#endif
return 0;
}