From 87faac55161d7dd62997fb09e9fcb5890cf6e4c6 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 10 Jan 2018 00:38:12 +0000 Subject: Fix powerpc-nofpu fmaxmagl, fminmagl spurious "invalid" exception (bug 22691). For soft-float powerpc, fmaxmagl and fminmagl generate spurious "invalid" exceptions for quiet NaN arguments. This is another case of the problems with fabsl inline expansion via comparisons, and so is fixed by building those functions with -fno-builtin-fabsl. Tested for powerpc (soft-float). [BZ #22691] * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math] (CFLAGS-s_fmaxmagl.c): New variable. [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise. --- ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 679a07762a..8b752efd64 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2018-01-10 Joseph Myers + [BZ #22691] + * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math] + (CFLAGS-s_fmaxmagl.c): New variable. + [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise. + [BZ #22690] * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned long int for arguments of possibly overflowing addition or -- cgit 1.4.1