This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/19933] Problem with define of HUGE_VAL in math_c99.


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]