public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ports/14908] New: ARM setjmp/longjmp wrongly save/restore floating-point flags
@ 2012-12-03 17:43 jsm28 at gcc dot gnu.org
2012-12-03 17:47 ` [Bug ports/14908] " jsm28 at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2012-12-03 17:43 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=14908
Bug #: 14908
Summary: ARM setjmp/longjmp wrongly save/restore floating-point
flags
Product: glibc
Version: 2.16
Status: NEW
Severity: normal
Priority: P2
Component: ports
AssignedTo: unassigned@sourceware.org
ReportedBy: jsm28@gcc.gnu.org
CC: carlos@systemhalted.org, roland@gnu.org
Classification: Unclassified
The ARM implementation of setjmp and longjmp wrongly saves and restores fpscr -
but saving and restoring floating-point exceptions and rounding modes is
contrary to the requirements of C99 and C11. fpscr should not be saved and
restored, and there should be an architecture-independent testcase to verify
that exceptions and rounding modes are the same on the second return from
setjmp as they were when longjmp was called, not the same as on the original
call to setjmp.
--
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] 6+ messages in thread
* [Bug ports/14908] ARM setjmp/longjmp wrongly save/restore floating-point flags
2012-12-03 17:43 [Bug ports/14908] New: ARM setjmp/longjmp wrongly save/restore floating-point flags jsm28 at gcc dot gnu.org
@ 2012-12-03 17:47 ` jsm28 at gcc dot gnu.org
2013-05-14 19:51 ` jsm28 at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2012-12-03 17:47 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=14908
Joseph Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Host| |arm*-*
--- Comment #1 from Joseph Myers <jsm28 at gcc dot gnu.org> 2012-12-03 17:47:00 UTC ---
Bug 14909 is the corresponding bug for MIPS.
--
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] 6+ messages in thread
* [Bug ports/14908] ARM setjmp/longjmp wrongly save/restore floating-point flags
2012-12-03 17:43 [Bug ports/14908] New: ARM setjmp/longjmp wrongly save/restore floating-point flags jsm28 at gcc dot gnu.org
2012-12-03 17:47 ` [Bug ports/14908] " jsm28 at gcc dot gnu.org
@ 2013-05-14 19:51 ` jsm28 at gcc dot gnu.org
2013-12-30 9:38 ` vapier at gentoo dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2013-05-14 19:51 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=14908
Joseph Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> 2013-05-14 19:51:15 UTC ---
Fixed for 2.18 by:
commit 0175558aa0a16a647ee368898a83a7d42e2011e8
Author: Joseph Myers <joseph@codesourcery.com>
Date: Tue May 14 19:50:14 2013 +0000
Stop ARM setjmp/longjmp saving/restoring fpscr (bug 14908).
--
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] 6+ messages in thread
* [Bug ports/14908] ARM setjmp/longjmp wrongly save/restore floating-point flags
2012-12-03 17:43 [Bug ports/14908] New: ARM setjmp/longjmp wrongly save/restore floating-point flags jsm28 at gcc dot gnu.org
2012-12-03 17:47 ` [Bug ports/14908] " jsm28 at gcc dot gnu.org
2013-05-14 19:51 ` jsm28 at gcc dot gnu.org
@ 2013-12-30 9:38 ` vapier at gentoo dot org
2013-12-30 9:38 ` vapier at gentoo dot org
2014-06-14 7:40 ` fweimer at redhat dot com
4 siblings, 0 replies; 6+ messages in thread
From: vapier at gentoo dot org @ 2013-12-30 9:38 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=14908
Mike Frysinger <vapier at gentoo dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://sourceware.org/bugz
| |illa/show_bug.cgi?id=16379
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ports/14908] ARM setjmp/longjmp wrongly save/restore floating-point flags
2012-12-03 17:43 [Bug ports/14908] New: ARM setjmp/longjmp wrongly save/restore floating-point flags jsm28 at gcc dot gnu.org
` (2 preceding siblings ...)
2013-12-30 9:38 ` vapier at gentoo dot org
@ 2013-12-30 9:38 ` vapier at gentoo dot org
2014-06-14 7:40 ` fweimer at redhat dot com
4 siblings, 0 replies; 6+ messages in thread
From: vapier at gentoo dot org @ 2013-12-30 9:38 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=14908
Mike Frysinger <vapier at gentoo dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://sourceware.org/bugz
| |illa/show_bug.cgi?id=14909
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ports/14908] ARM setjmp/longjmp wrongly save/restore floating-point flags
2012-12-03 17:43 [Bug ports/14908] New: ARM setjmp/longjmp wrongly save/restore floating-point flags jsm28 at gcc dot gnu.org
` (3 preceding siblings ...)
2013-12-30 9:38 ` vapier at gentoo dot org
@ 2014-06-14 7:40 ` fweimer at redhat dot com
4 siblings, 0 replies; 6+ messages in thread
From: fweimer at redhat dot com @ 2014-06-14 7:40 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=14908
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] 6+ messages in thread
end of thread, other threads:[~2014-06-14 7:40 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-03 17:43 [Bug ports/14908] New: ARM setjmp/longjmp wrongly save/restore floating-point flags jsm28 at gcc dot gnu.org
2012-12-03 17:47 ` [Bug ports/14908] " jsm28 at gcc dot gnu.org
2013-05-14 19:51 ` jsm28 at gcc dot gnu.org
2013-12-30 9:38 ` vapier at gentoo dot org
2013-12-30 9:38 ` vapier at gentoo dot org
2014-06-14 7:40 ` 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).