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/31175] isinf incorrectly expanded



------- Comment #2 from ubizjak at gmail dot com  2007-03-14 17:38 -------
(In reply to comment #0)

> Examine the definition of isinf closely.  It returns -1 for -inf.

But:

NOTE
       Note  that these functions are obsolete. C99 defines macros isfinite(),
       isinf() and isnan() (for all types) replacing them.  Further note  that
       the C99 isinf() has weaker guarantees on the return value.

However, it is possible to add &&TARGET_C99_FUNCTIONS to isinf<mode>2 expander
to expand only when we know that target has functions that conform to c99
standard.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31175


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