On Alpha and IA-64, fexcept_t is unsigned long. But all the values
fit within an int, so the cast is ok for printing. All other hosts
use unsigned int or unsigned short already.
* sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
* sysdeps/alpha/fpu/libm-test-ulps: Update.
+ * math/test-fenvinline.c (feenable_test): Cast fe_exc to
+ unsigned int before printing.
+
2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
[BZ #17596]
if (excepts != fe_exc)
{
printf ("Test: fedisableexcept (%s) failed, return should be 0x%x, is 0x%x\n",
- flag_name, fe_exc, excepts);
+ flag_name, (unsigned int)fe_exc, excepts);
++count_errors;
}
if (excepts != fe_exc)
{
printf ("Test: fedisableexcept (%s) failed, return should be 0x%x, is 0x%x\n",
- flag_name, fe_exc, excepts);
+ flag_name, (unsigned int)fe_exc, excepts);
++count_errors;
}
#endif