From 2759a2c1d8b950521ae76e62efe0114fd36b6e2d Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Sat, 15 Jul 2017 12:18:03 -0400 Subject: Fix failing sNaN tests on hppa. --- ChangeLog | 4 ++++ sysdeps/hppa/math-tests.h | 22 ++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 sysdeps/hppa/math-tests.h diff --git a/ChangeLog b/ChangeLog index a9044a588c..b6befe2329 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2017-07-15 John David Anglin + + * sysdeps/hppa/math-tests.h: New. + 2017-07-14 DJ Delorie [BZ #21654] 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 + . */ + +/* SNaN tests do not preserve payloads. */ +#define SNAN_TESTS_PRESERVE_PAYLOAD 0 + +#include_next -- cgit 1.4.1