about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-10-24 00:33:08 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-10-24 00:33:08 +0000
commit91c3985c237ba6b2ab2ba20c6d29a38542378864 (patch)
treeb045491c51158aaf6e7e6d0ecc3898dfea10b312 /ChangeLog
parentaa95a2414e4f664ca740ad5f4a72d9145abbd426 (diff)
downloadglibc-91c3985c237ba6b2ab2ba20c6d29a38542378864.tar.gz
glibc-91c3985c237ba6b2ab2ba20c6d29a38542378864.tar.xz
glibc-91c3985c237ba6b2ab2ba20c6d29a38542378864.zip
Update x86 fix-fp-int-compare-invalid.h for GCC 8.
The glibc implementation of iseqsig relies on ordered comparison
operators raising the "invalid" exception for quiet NaN operands, with
a workaround on platforms where a GCC bug means that exception is not
raised.  For x86, that bug has now been fixed for GCC 8, so this patch
disables the workaround in that case.  If and when the corresponding
bugs for powerpc and s390 are fixed, the headers for those platforms
should of course be updated similarly.

Tested for x86_64 and x86, including with GCC mainline.  Note that
other failures appear with GCC mainline because of spurious use of
ordered comparison instructions for unordered operations
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82692>.

	* sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
	(FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4448c3d791..265524f10a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-10-24  Joseph Myers  <joseph@codesourcery.com>
+
+	* sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
+	(FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
+
 2017-10-23  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
 	* sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of