This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Add test for setjmp / longjmp and floating-point state
- From: Andreas Jaeger <aj at suse dot com>
- To: libc-alpha at sourceware dot org
- Date: Tue, 14 May 2013 21:39:57 +0200
- Subject: Re: Add test for setjmp / longjmp and floating-point state
- References: <Pine dot LNX dot 4 dot 64 dot 1305141708080 dot 15202 at digraph dot polyomino dot org dot uk>
On 05/14/2013 07:09 PM, Joseph S. Myers wrote:
A while back I noticed that the ARM and MIPS implementations of setjmp
/ longjmp wrongly saved and restored floating-point exceptions and
rounding modes, contrary to ISO C (bugs 14908 and 14909). This patch
adds an architecture-independent test to detect this bug. Tested
x86_64 and x86 that the new test passes, and on ARM that it properly
detects the bug and fails there.
Thanks, this is ok,
Andreas
--
Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126