This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/15490] New: nearbyint scheduling for spurious exceptions
- From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sun, 19 May 2013 18:10:18 +0000
- Subject: [Bug math/15490] New: nearbyint scheduling for spurious exceptions
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15490
Bug #: 15490
Summary: nearbyint scheduling for spurious exceptions
Product: glibc
Version: 2.17
Status: NEW
Severity: normal
Priority: P2
Component: math
AssignedTo: unassigned@sourceware.org
ReportedBy: jsm28@gcc.gnu.org
Classification: Unclassified
Code in the C nearbyintf and possibly other nearbyint implementations can be
scheduled by the compiler so arithmetic that raises the "inexact" exception
runs after the fesetenv intended to clear that exception.
http://sourceware.org/ml/libc-alpha/2013-05/msg00720.html
gives an example I can reproduce on x86_64 with --disable-multi-arch (otherwise
the SSE4.1 version gets used).
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.