diff options
author | Bruce Korb <korbb@gcc.gnu.org> | 2003-01-04 18:44:04 +0000 |
---|---|---|
committer | Bruce Korb <korbb@gcc.gnu.org> | 2003-01-04 18:44:04 +0000 |
commit | b0588013c1115f2a74c6ca81bad5ffb84f321d13 (patch) | |
tree | 0ab829b056cafb4284a8800b34ef14f683e38dcc /gcc/fixinc/tests/base/math.h | |
parent | 68ee6df68a8ff9e3475f78fcdb0578ace0664801 (diff) | |
download | gcc-b0588013c1115f2a74c6ca81bad5ffb84f321d13.zip gcc-b0588013c1115f2a74c6ca81bad5ffb84f321d13.tar.gz gcc-b0588013c1115f2a74c6ca81bad5ffb84f321d13.tar.bz2 |
remove obsolete fixes
From-SVN: r60883
Diffstat (limited to 'gcc/fixinc/tests/base/math.h')
-rw-r--r-- | gcc/fixinc/tests/base/math.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/gcc/fixinc/tests/base/math.h b/gcc/fixinc/tests/base/math.h index 4d9907c..292e567 100644 --- a/gcc/fixinc/tests/base/math.h +++ b/gcc/fixinc/tests/base/math.h @@ -30,11 +30,6 @@ struct exception; #endif /* BROKEN_CABS_CHECK */ -#if defined( FIX_HEADER_BREAKAGE_CHECK ) -extern double floor(), ceil(), fmod(), fabs _PARAMS((double)); -#endif /* FIX_HEADER_BREAKAGE_CHECK */ - - #if defined( HPUX11_CPP_POW_INLINE_CHECK ) #endif /* HPUX11_CPP_POW_INLINE_CHECK */ @@ -60,23 +55,6 @@ extern double fmod(double, double); #endif /* ISC_FMOD_CHECK */ -#if defined( M88K_BAD_HYPOT_OPT_CHECK ) -extern double hypot(); -/* Workaround a stupid Motorola optimization if one - of x or y is 0.0 and the other is negative! */ -#ifdef __STDC__ -static __inline__ double fake_hypot (double x, double y) -#else -static __inline__ double fake_hypot (x, y) - double x, y; -#endif -{ - return fabs (hypot (x, y)); -} -#define hypot fake_hypot -#endif /* M88K_BAD_HYPOT_OPT_CHECK */ - - #if defined( MATH_EXCEPTION_CHECK ) typedef struct exception t_math_exception; #endif /* MATH_EXCEPTION_CHECK */ |