PR c++/49813
* include/c_global/cmath (isinf): Remove workaround.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177070
138bc75d-0d04-0410-961f-
82ee72b054a4
+2011-08-01 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/49813
+ * include/c_global/cmath (isinf): Remove workaround.
+
2011-07-31 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/49925
isfinite(_Tp __x)
{ return true; }
- // Workaround the isinf issue discussed in PR 49813.
constexpr bool
isinf(float __x)
- { return fpclassify(__x) == FP_INFINITE; }
+ { return __builtin_isinf(__x); }
constexpr bool
isinf(double __x)
- { return fpclassify(__x) == FP_INFINITE; }
+ { return __builtin_isinf(__x); }
constexpr bool
isinf(long double __x)
- { return fpclassify(__x) == FP_INFINITE; }
+ { return __builtin_isinf(__x); }
template<typename _Tp>
constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value,