[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: totalorder*: Fix test failures on SH4
From: |
Bruno Haible |
Subject: |
Re: totalorder*: Fix test failures on SH4 |
Date: |
Sat, 14 Oct 2023 23:46:07 +0200 |
> FAIL: test-totalorder
> =====================
>
> Failed: i=0 j=1
> Failed: i=1 j=0
> Failed: i=12 j=13
> Failed: i=13 j=12
> FAIL test-totalorder (exit status: 1)
>
> FAIL: test-totalorderf
> ======================
>
> Failed: i=0 j=1
> Failed: i=1 j=0
> Failed: i=12 j=13
> Failed: i=13 j=12
> FAIL test-totalorderf (exit status: 1)
>
> FAIL: test-totalorderl
> ======================
>
> Failed: i=0 j=1
> Failed: i=1 j=0
> Failed: i=12 j=13
> Failed: i=13 j=12
> FAIL test-totalorderl (exit status: 1)
I see these failures also with the glibc implementation of totalorder* on
Linux/sh4. Reported at <https://sourceware.org/bugzilla/show_bug.cgi?id=30973>.
2023-10-14 Bruno Haible <bruno@clisp.org>
totalorder*: Document glibc bug on SH4.
* doc/posix-functions/totalorder.texi: Mention the glibc bug on SH4.
* doc/posix-functions/totalorderf.texi: Likewise.
* doc/posix-functions/totalorderl.texi: Likewise.
diff --git a/doc/posix-functions/totalorder.texi
b/doc/posix-functions/totalorder.texi
index 3e1745a29c..b28598ec6f 100644
--- a/doc/posix-functions/totalorder.texi
+++ b/doc/posix-functions/totalorder.texi
@@ -29,4 +29,8 @@
Portability problems not fixed by Gnulib:
@itemize
+@item
+This function treats signalling NaNs incorrectly on some platforms:
+@c https://sourceware.org/bugzilla/show_bug.cgi?id=30973
+glibc 2.35/sh4.
@end itemize
diff --git a/doc/posix-functions/totalorderf.texi
b/doc/posix-functions/totalorderf.texi
index 6d3b2f55a3..c49e91ac0b 100644
--- a/doc/posix-functions/totalorderf.texi
+++ b/doc/posix-functions/totalorderf.texi
@@ -29,4 +29,8 @@
Portability problems not fixed by Gnulib:
@itemize
+@item
+This function treats signalling NaNs incorrectly on some platforms:
+@c https://sourceware.org/bugzilla/show_bug.cgi?id=30973
+glibc 2.35/sh4.
@end itemize
diff --git a/doc/posix-functions/totalorderl.texi
b/doc/posix-functions/totalorderl.texi
index d21bca8621..2b2d0c9681 100644
--- a/doc/posix-functions/totalorderl.texi
+++ b/doc/posix-functions/totalorderl.texi
@@ -29,4 +29,8 @@
Portability problems not fixed by Gnulib:
@itemize
+@item
+This function treats signalling NaNs incorrectly on some platforms:
+@c https://sourceware.org/bugzilla/show_bug.cgi?id=30973
+glibc 2.35/sh4.
@end itemize