diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-03-10 06:05:14 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-03-10 06:05:14 +0000 |
commit | f4c024d1f956a7e853eba10ce33ab6851b5d43d1 (patch) | |
tree | 1e1fb47ee60867cc36f948b08e1388786b3ad161 /sysdeps/sparc | |
parent | 8b9d605485be779bb03778e780e9875525ec2ca4 (diff) | |
download | glibc-f4c024d1f956a7e853eba10ce33ab6851b5d43d1.zip glibc-f4c024d1f956a7e853eba10ce33ab6851b5d43d1.tar.gz glibc-f4c024d1f956a7e853eba10ce33ab6851b5d43d1.tar.bz2 |
Update.
2004-03-09 Richard Henderson <rth@redhat.com>
* math/math.h (isgreater, isgreaterequal, isless, islessequal,
islessgreater, isunordered): Use builtins if available.
* sysdeps/i386/fpu/bits/mathinline.h: Don't define via builtins.
* sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
* sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
* sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
* sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
* sysdeps/alpha/fpu/bits/mathinline.h (isgreater, isgreaterequal,
isless, islessequal, islessgreater): Remove; use default.
(isunordered): Convert inputs to double.
Diffstat (limited to 'sysdeps/sparc')
-rw-r--r-- | sysdeps/sparc/fpu/bits/mathinline.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sysdeps/sparc/fpu/bits/mathinline.h b/sysdeps/sparc/fpu/bits/mathinline.h index 81c2539..734ff05 100644 --- a/sysdeps/sparc/fpu/bits/mathinline.h +++ b/sysdeps/sparc/fpu/bits/mathinline.h @@ -24,9 +24,13 @@ #include <bits/wordsize.h> -#ifdef __GNUC__ - -#ifdef __USE_ISOC99 +#if defined __USE_ISOC99 && defined __GNUC__ && !__GNUC_PREREQ(3,0) +# undef isgreater +# undef isgreaterequal +# undef isless +# undef islessequal +# undef islessgreater +# undef isunordered # if __WORDSIZE == 32 |