Two small patches:
1) On NetBSD 8.0/sparc, I see a test failure of test-fenv-except-tracking-2
   regarding 'long double's. Certainly due to the software floating-point
   routines.
2) The Cygwin fraiseexcept bug has been acknowledged and fixed:
   <https://sourceware.org/pipermail/cygwin/2023-October/254674.html>


2023-11-04  Bruno Haible  <br...@clisp.org>

        doc: Update info about Cygwin feraiseexcept bug.
        * doc/posix-functions/feraiseexcept.texi: Update info regarding Cygwin.

2023-11-04  Bruno Haible  <br...@clisp.org>

        fenv-exceptions-tracking-c99 tests: Avoid test failure on NetBSD/sparc.
        * tests/test-fenv-except-tracking-2.c (main): On NetBSD/sparc, skip the
        'long double' test.

>From 10070b43647c633105f2f2f3c91f25410f921e28 Mon Sep 17 00:00:00 2001
From: Bruno Haible <br...@clisp.org>
Date: Sat, 4 Nov 2023 16:23:16 +0100
Subject: [PATCH 1/2] fenv-exceptions-tracking-c99 tests: Avoid test failure on
 NetBSD/sparc.

* tests/test-fenv-except-tracking-2.c (main): On NetBSD/sparc, skip the
'long double' test.
---
 ChangeLog                           | 6 ++++++
 tests/test-fenv-except-tracking-2.c | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b6f7d339d1..a5bd7473c4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-11-04  Bruno Haible  <br...@clisp.org>
+
+	fenv-exceptions-tracking-c99 tests: Avoid test failure on NetBSD/sparc.
+	* tests/test-fenv-except-tracking-2.c (main): On NetBSD/sparc, skip the
+	'long double' test.
+
 2023-11-04  Bruno Haible  <br...@clisp.org>
 
 	fenv-exceptions-tracking-c99: Fix fetestexcept() override for AIX.
diff --git a/tests/test-fenv-except-tracking-2.c b/tests/test-fenv-except-tracking-2.c
index e6f9bf1f9d..1d8529ad04 100644
--- a/tests/test-fenv-except-tracking-2.c
+++ b/tests/test-fenv-except-tracking-2.c
@@ -66,11 +66,11 @@ main (int argc, char *argv[])
       case 'l':
         /* This test does not work on Linux/loongarch64 with glibc 2.37.
            Likewise on Linux/alpha with glibc 2.7 on Linux 2.6.26.
-           Likewise on FreeBSD 12.2/sparc.
+           Likewise on FreeBSD 12.2/sparc and NetBSD 8.0/sparc.
            Cause unknown.  */
         #if !((__GLIBC__ >= 2 && defined __loongarch__) \
               || ((__GLIBC__ == 2 && __GLIBC_MINOR__ < 36) && defined __alpha) \
-              || (defined __FreeBSD__ && defined __sparc))
+              || ((defined __FreeBSD__ || defined __NetBSD__) && defined __sparc))
         {
           volatile long double a, b;
           _GL_UNUSED volatile long double c;
-- 
2.34.1

>From 421e04d7f60aba683c00bd071dca47dcce8d5b50 Mon Sep 17 00:00:00 2001
From: Bruno Haible <br...@clisp.org>
Date: Sat, 4 Nov 2023 16:27:09 +0100
Subject: [PATCH 2/2] doc: Update info about Cygwin feraiseexcept bug.

* doc/posix-functions/feraiseexcept.texi: Update info regarding Cygwin.
---
 ChangeLog                              | 5 +++++
 doc/posix-functions/feraiseexcept.texi | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index a5bd7473c4..423b490331 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-11-04  Bruno Haible  <br...@clisp.org>
+
+	doc: Update info about Cygwin feraiseexcept bug.
+	* doc/posix-functions/feraiseexcept.texi: Update info regarding Cygwin.
+
 2023-11-04  Bruno Haible  <br...@clisp.org>
 
 	fenv-exceptions-tracking-c99 tests: Avoid test failure on NetBSD/sparc.
diff --git a/doc/posix-functions/feraiseexcept.texi b/doc/posix-functions/feraiseexcept.texi
index a4f2ebab01..622223a79a 100644
--- a/doc/posix-functions/feraiseexcept.texi
+++ b/doc/posix-functions/feraiseexcept.texi
@@ -17,7 +17,7 @@
 @item
 This function does not trigger traps on
 @c https://sourceware.org/pipermail/cygwin/2023-October/254667.html
-Cygwin 3.4.6/x86_64.
+Cygwin 3.4.9/x86_64.
 @end itemize
 
 Portability problems not fixed by Gnulib:
-- 
2.34.1

Reply via email to