This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/17088] fallback fesetenv / feupdateenv should give errors for FE_NOMASK_ENV
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 17 Jul 2014 17:57:37 +0000
- Subject: [Bug math/17088] fallback fesetenv / feupdateenv should give errors for FE_NOMASK_ENV
- Auto-submitted: auto-generated
- References: <bug-17088-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17088
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 831b9896d8e957580591a3cbe11dcd5ac6743ba2 (commit)
from b21c2d5020d85596c0391e03054d7fe031ffd60b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=831b9896d8e957580591a3cbe11dcd5ac6743ba2
commit 831b9896d8e957580591a3cbe11dcd5ac6743ba2
Author: Joseph Myers <joseph@codesourcery.com>
Date: Thu Jul 17 17:56:43 2014 +0000
Fix fallback fesetenv and feupdateenv on FE_NOMASK_ENV (bug 17088).
This patch fixes bug 17088, fallback fesetenv and feupdateenv not
giving an error for an FE_NOMASK_ENV argument when it requires traps
to be enabled. (This is the bug tested for by test-fenv-return.c.)
Tested mips64 soft-float.
[BZ #17088]
* math/fesetenv.c (__fesetenv)
[FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
* math/feupdateenv.c (__feupdateenv)
[FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
NEWS | 4 ++--
math/fesetenv.c | 4 ++++
math/feupdateenv.c | 4 ++++
4 files changed, 16 insertions(+), 2 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.