[Bug target/31175] isinf incorrectly expanded
ubizjak at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Mar 14 17:38:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list