Fix powerpc-nofpu fmaxmagl, fminmagl spurious "invalid" exception (bug 22691).
commit87faac55161d7dd62997fb09e9fcb5890cf6e4c6
authorJoseph Myers <joseph@codesourcery.com>
Wed, 10 Jan 2018 00:38:12 +0000 (10 00:38 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 10 Jan 2018 00:38:12 +0000 (10 00:38 +0000)
tree31177cb4dce0ee99923bd9e34f026ada9e348b3a
parent1272748886257ae4d73485eb7534756e89643091
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
sysdeps/powerpc/nofpu/Makefile