Bug 14907 - Test for feenableexcept failure for ARM
Summary: Test for feenableexcept failure for ARM
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: ports (show other bugs)
Version: 2.16
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-03 17:34 UTC by Joseph Myers
Modified: 2014-06-14 07:40 UTC (History)
2 users (show)

See Also:
Host: arm*-*
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Myers 2012-12-03 17:34:12 UTC
The ARM implementation of feenableexcept should test whether the requested exceptions were set, and return -1 for failure if not, much like the fesetenv problem that was bug 14866.
Comment 1 Joseph Myers 2012-12-03 17:35:36 UTC
(VFPv3 and VFPv4 do not support trapping exceptions, so feenableexcept will fail to enable them on processors with those VFP versions.)
Comment 2 Joseph Myers 2013-06-17 17:22:32 UTC
Fixed for 2.18 by:

commit 3023a72eb83751a23b01b6cb996fb81fe3abbcb6
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Mon Jun 17 17:20:23 2013 +0000

    Make ARM feenableexcept detect failure (bug 14907).