+2017-01-03 Joseph Myers <joseph@codesourcery.com>
+
+ * math/test-fenvinline.c (do_test): Disable tests of raised
+ exceptions if !EXCEPTION_TESTS (FLOAT).
+
2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
[BZ #19390]
/* raise all exceptions and test if all are raised */
feraiseexcept (FE_ALL_EXCEPT);
- test_exceptions ("feraiseexcept (FE_ALL_EXCEPT) raises all exceptions",
- ALL_EXC);
+ if (EXCEPTION_TESTS (float))
+ test_exceptions ("feraiseexcept (FE_ALL_EXCEPT) raises all exceptions",
+ ALL_EXC);
/* Same test, but using double as argument */
feclearexcept ((double)FE_ALL_EXCEPT);
NO_EXC);
feraiseexcept ((double)FE_ALL_EXCEPT);
- test_exceptions ("feraiseexcept ((double)FE_ALL_EXCEPT) raises all exceptions",
- ALL_EXC);
+ if (EXCEPTION_TESTS (float))
+ test_exceptions ("feraiseexcept ((double)FE_ALL_EXCEPT) raises all exceptions",
+ ALL_EXC);
- test_exceptionflag ();
+ if (EXCEPTION_TESTS (float))
+ test_exceptionflag ();
test_fesetround ();