diff options
author | Richard Guenther <rguenther@suse.de> | 2006-02-28 11:29:41 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2006-02-28 11:29:41 +0000 |
commit | 6ff68ac3188ac915dee6301b69b7b8ee1c78a95f (patch) | |
tree | af3a1c81f9304101fc4f8c8fdfb40bc338374748 /libgcc-math/include | |
parent | 8cd25827df5714010f0b16654765843634e53950 (diff) | |
download | gcc-6ff68ac3188ac915dee6301b69b7b8ee1c78a95f.zip gcc-6ff68ac3188ac915dee6301b69b7b8ee1c78a95f.tar.gz gcc-6ff68ac3188ac915dee6301b69b7b8ee1c78a95f.tar.bz2 |
re PR bootstrap/26055 (libgcc-math declaration of __isinf conflicts with system header, fails bootstrap)
2006-02-28 Richard Guenther <rguenther@suse.de>
PR bootstrap/26055
Revert
* configure.ac: Disable libgcc-math if we cannot mix
declaration of __isinf and math.h inclusion.
* configure: Re-generate.
* i386/Makefile.am: Use -std=c99, do not use -ffinite-math-only,
do not define __NO_MATH_INLINES.
* i386/Makefile.in: Re-generate.
* include/math_private.h (__atanf): Declare.
(__scalbnf): Likewise.
(__floorf): Likewise.
(__isinff): Likewise.
(__scalbn): Likewise.
(__floor): Likewise.
(fabs): Likewise.
(fabsf): Likewise.
* flt-32/e_acosf.c: Do not include math.h
* flt-32/s_isinff.c: Likewise.
* flt-32/k_tanf.c: Likewise.
* flt-32/e_sqrtf.c: Likewise.
* flt-32/e_asinf.c: Likewise.
* flt-32/k_cosf.c: Likewise.
* flt-32/k_sinf.c: Likewise.
* flt-32/s_floorf.c: Likewise.
* flt-32/s_tanf.c: Likewise.
* flt-32/s_atanf.c: Likewise.
* flt-32/s_cosf.c: Likewise.
* flt-32/e_atan2f.c: Likewise.
* flt-32/e_powf.c: Likewise.
* flt-32/s_sinf.c: Likewise.
* flt-32/e_rem_pio2f.c: Likewise.
* flt-32/s_scalbnf.c: Likewise.
* flt-32/e_logf.c: Likewise.
* flt-32/e_log10f.c: Likewise.
* flt-32/k_rem_pio2f.c: Likewise.
* flt-32/e_expf.c: Likewise. Use __builtin_isless and
__builtin_isgreater.
* dbl-64/s_floor.c: Do not include math.h.
* dbl-64/e_log10.c: Likewise.
* dbl-64/k_rem_pio2.c: Likewise.
* dbl-64/s_atan.c: Likewise.
* dbl-64/s_scalbn.c: Likewise.
* dbl-64/s_isinf.c: Likewise.
* dbl-64/s_tan.c: Likewise.
* dbl-64/e_rem_pio2.c: Likewise. Avoid uninitialized variable
warning.
* dbl-64/mpa.c: Likewise.
From-SVN: r111563
Diffstat (limited to 'libgcc-math/include')
-rw-r--r-- | libgcc-math/include/math_private.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libgcc-math/include/math_private.h b/libgcc-math/include/math_private.h index 25084f5..4cfdabf 100644 --- a/libgcc-math/include/math_private.h +++ b/libgcc-math/include/math_private.h @@ -232,6 +232,11 @@ extern float __kernel_cosf (float,float); extern float __kernel_tanf (float,float,int); extern int __kernel_rem_pio2f (float*,float*,int,int,int, const int32_t*); +extern float __atanf (float); +extern float __scalbnf (float x, int n); +extern float __floorf(float x); +extern int __isinff(float x); + /* internal functions. */ extern float __copysignf (float x, float __y); @@ -318,5 +323,11 @@ extern double __mpcos1 (double __x); extern double __slowexp (double __x); extern double __slowpow (double __x, double __y, double __z); extern void __docos (double __x, double __dx, double __v[]); +extern double __scalbn (double x, int n); +extern double __floor(double x); + +/* Prototypes for C99 math functions provided by GCC builtins. */ +extern double fabs(double); +extern float fabsf(float); #endif /* _MATH_PRIVATE_H_ */ |