+2020-05-05 Michael Meissner <meissner@linux.ibm.com>
+
+ (ieee128-lib-patch008b)
+ * gcc.target/powerpc/pr70117.c: Don't use LDBL_MAX if __ibm128 is
+ not the same as long double.
+
2020-05-05 Michael Meissner <meissner@linux.ibm.com>
(ieee128-lib-patch006b)
128-bit floating point, because the type is not enabled on those
systems. */
#define LDOUBLE __ibm128
+#define IBM128_MAX ((__ibm128) 1.79769313486231580793728971405301199e+308L)
#elif defined(__LONG_DOUBLE_IBM128__)
#define LDOUBLE long double
+#define IBM128_MAX LDBL_MAX
#else
#error "long double must be either IBM 128-bit or IEEE 128-bit"
if (__builtin_isnormal (ld))
__builtin_abort ();
- ld = LDBL_MAX;
+ ld = IBM128_MAX;
if (!__builtin_isnormal (ld))
__builtin_abort ();
- ld = -LDBL_MAX;
+ ld = -IBM128_MAX;
if (!__builtin_isnormal (ld))
__builtin_abort ();