public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug math/15490] New: nearbyint scheduling for spurious exceptions @ 2013-05-19 18:10 jsm28 at gcc dot gnu.org 2013-05-19 18:41 ` [Bug math/15490] " jsm28 at gcc dot gnu.org 2014-06-13 17:44 ` fweimer at redhat dot com 0 siblings, 2 replies; 3+ messages in thread From: jsm28 at gcc dot gnu.org @ 2013-05-19 18:10 UTC (permalink / raw) To: glibc-bugs 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. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug math/15490] nearbyint scheduling for spurious exceptions 2013-05-19 18:10 [Bug math/15490] New: nearbyint scheduling for spurious exceptions jsm28 at gcc dot gnu.org @ 2013-05-19 18:41 ` jsm28 at gcc dot gnu.org 2014-06-13 17:44 ` fweimer at redhat dot com 1 sibling, 0 replies; 3+ messages in thread From: jsm28 at gcc dot gnu.org @ 2013-05-19 18:41 UTC (permalink / raw) To: glibc-bugs http://sourceware.org/bugzilla/show_bug.cgi?id=15490 Joseph Myers <jsm28 at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Joseph Myers <jsm28 at gcc dot gnu.org> 2013-05-19 18:41:21 UTC --- Fixed for 2.18 by: commit 3e694268750d51acc6a68b0ee7ded25a52902c20 Author: Joseph Myers <joseph@codesourcery.com> Date: Sun May 19 18:40:25 2013 +0000 Fix nearbyint scheduling of arithmetic past fesetenv (bug 15490). -- 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. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug math/15490] nearbyint scheduling for spurious exceptions 2013-05-19 18:10 [Bug math/15490] New: nearbyint scheduling for spurious exceptions jsm28 at gcc dot gnu.org 2013-05-19 18:41 ` [Bug math/15490] " jsm28 at gcc dot gnu.org @ 2014-06-13 17:44 ` fweimer at redhat dot com 1 sibling, 0 replies; 3+ messages in thread From: fweimer at redhat dot com @ 2014-06-13 17:44 UTC (permalink / raw) To: glibc-bugs https://sourceware.org/bugzilla/show_bug.cgi?id=15490 Florian Weimer <fweimer at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |security- -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-06-13 17:44 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2013-05-19 18:10 [Bug math/15490] New: nearbyint scheduling for spurious exceptions jsm28 at gcc dot gnu.org 2013-05-19 18:41 ` [Bug math/15490] " jsm28 at gcc dot gnu.org 2014-06-13 17:44 ` fweimer at redhat dot com
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).