summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-01-05 23:15:47 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-01-05 23:15:47 +0000
commitf68fcd95d34d2f2ac286b9ebb64e3a07e36a20cf (patch)
treef061717abb8ff5b010832031815179dcc63d8007 /ChangeLog
parent38765ab68f329fd84a5984decc8953f8c89d6e5c (diff)
downloadglibc-f68fcd95d34d2f2ac286b9ebb64e3a07e36a20cf.tar.gz
Make fallback fesetexceptflag always succeed (bug 21028).
The fallback implementation of fesetexceptflag currently fails if any exceptions are specified. It should always succeed, because the exception state is always that all exceptions (if any are defined in <fenv.h> but not supported in this configuration) are always clear, just as fallback fetestexcept always succeeds and fallback fesetenv always succeeds unless asked to set FE_NOMASK_ENV. This patch fixes it accordingly. Together with the patch to test-fexcept.c to allow feraiseexcept to fail in another place, this stops that test from failing for MIPS soft-float. Tested for mips64 soft-float. [BZ #21028] * math/fsetexcptflg.c (__fesetexceptflag): Always return 0. * math/test-fexcept.c (test_set): Allow failure of feraiseexcept if EXCEPTION_TESTS returns false.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c67476fca5..172b0c9275 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2017-01-05 Joseph Myers <joseph@codesourcery.com>
+
+ [BZ #21028]
+ * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
+ * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
+ if EXCEPTION_TESTS returns false.
+
2017-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
[BZ #20558]