as the latter produces a warning when the target does not support
infinity.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145646
138bc75d-0d04-0410-961f-
82ee72b054a4
2009-04-07 Ben Elliston <bje@au.ibm.com>
+ * libgcc2.c (INFINITY): Use __builtin_huge_val, not __builtin_inf,
+ as the latter produces a warning when the target does not support
+ infinity.
+
+2009-04-07 Ben Elliston <bje@au.ibm.com>
+
* dfp.c: Replace type punning assignments with memcpy throughout.
* Makefile.in (dfp.o-warn): Remove.
#define isfinite(x) __builtin_expect (!isnan((x) - (x)), 1)
#define isinf(x) __builtin_expect (!isnan(x) & !isfinite(x), 0)
-#define INFINITY CONCAT2(__builtin_inf, CEXT) ()
+#define INFINITY CONCAT2(__builtin_huge_val, CEXT) ()
#define I 1i
/* Helpers to make the following code slightly less gross. */