This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/19933] Problem with define of HUGE_VAL in math_c99.
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 May 2005 12:21:20 -0000
- Subject: [Bug target/19933] Problem with define of HUGE_VAL in math_c99.
- References: <20050213054900.19933.casevh@comcast.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-05-01 12:21 -------
> GCC does not yet have __builtin_isfinite or __builtin_isnormal functions; they
> would be generically useful additions if they always avoided falling back to
> a library function. __builtin_fpclassify would also be useful but would
> only be usable where GCC is configured to know the FP_* values used on
> a given target.
>
> In principle all the macros can be defined along the lines of
> the isnan/isfinite/isinf definitions in libgcc2.c, with GNU extensions to
> avoid multiple evaluation, but this is not very efficient.
Joseph, we are severely bitten by the __builtin_isfinite problem for the Fortran
compiler (this is PR target/21315). What do you suggest? Fixincluding to GCC
__builtin_* functions when possible and fixincluding away in the other cases?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19933