mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-10 19:30:10 +00:00
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.
This commit is contained in:
parent
1272748886
commit
87faac5516
@ -1,5 +1,10 @@
|
||||
2018-01-10 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
[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
|
||||
|
@ -47,4 +47,6 @@ CFLAGS-e_lgammal_r.c += -fno-builtin-fabsl
|
||||
CFLAGS-e_log10l.c += -fno-builtin-fabsl
|
||||
CFLAGS-e_log2l.c += -fno-builtin-fabsl
|
||||
CFLAGS-e_remainderl.c += -fno-builtin-fabsl
|
||||
CFLAGS-s_fmaxmagl.c += -fno-builtin-fabsl
|
||||
CFLAGS-s_fminmagl.c += -fno-builtin-fabsl
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user