summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2017-08-12 13:43:57 -0400
committerJohn David Anglin <danglin@gcc.gnu.org>2017-08-12 13:43:57 -0400
commitf40b4e86f5c31560a1073a907943fd619485c74d (patch)
tree056974c70f460cbe8f8d0df826c1e0324465ab45
parent241af18538d25e020428c66a50884f7cc37f0385 (diff)
downloadglibc-f40b4e86f5c31560a1073a907943fd619485c74d.tar.gz
Fix failing sNaN tests on hppa.
* sysdeps/hppa/math-tests.h: New.
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/hppa/math-tests.h22
2 files changed, 24 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2a0f14dd79..519ead0e23 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2017-08-12 John David Anglin <danglin@gcc.gnu.org>
+ * sysdeps/hppa/math-tests.h: New.
+
[BZ #21016]
* sysdeps/hppa/nptl/bits/pthreadtypes.h: Update pthread_cond_t typedef.
* sysdeps/unix/sysv/linux/hppa/pthread.h: Include
diff --git a/sysdeps/hppa/math-tests.h b/sysdeps/hppa/math-tests.h
new file mode 100644
index 0000000000..bb205907ad
--- /dev/null
+++ b/sysdeps/hppa/math-tests.h
@@ -0,0 +1,22 @@
+/* Configuration for math tests. hppa version.
+ Copyright (C) 2017 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
+
+/* SNaN tests do not preserve payloads. */
+#define SNAN_TESTS_PRESERVE_PAYLOAD 0
+
+#include_next <math-tests.h>