Remove sysdeps/x86/fpu/bits/mathinline.h __finite inline.
commit5d75b75fb772556873f3b720e63a740074ff4c40
authorJoseph Myers <joseph@codesourcery.com>
Fri, 16 Mar 2018 18:36:53 +0000 (16 18:36 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 16 Mar 2018 18:36:53 +0000 (16 18:36 +0000)
tree9351a4c12d72157622e7a6efc53df0f7cb864920
parent34ba96b89c83f93e18f9a358d437061d737b22a3
Remove sysdeps/x86/fpu/bits/mathinline.h __finite inline.

Continuing the removals of inline functions from the x86
bits/mathinline.h, this patch removes an inline of __finite (which was
not actually architecture-specific at all beyond its
endianness-dependence).

This inline is not normally used with GCC 4.4 or later, because
isfinite now uses __builtin_isfinite except for -fsignaling-nans.
Allowing __builtin_isfinite etc. to work properly even for
-fsignaling-nans, by implementing versions of those built-in functions
that use integer arithmetic in GCC, is
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66462> (a patch was
committed but had to be reverted because it caused problems, and that
patch didn't address all formats for all architectures, only some, so
by itself would not have been sufficient to allow glibc to use
__builtin_isfinite unconditionally for new-enough GCC).

Tested for x86_64 and x86.

* sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
Remove inline function.
ChangeLog
sysdeps/x86/fpu/bits/mathinline.h