This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/11670] Variables defined in pthread_cleanup_push() macro may be optimised away which breaks __sigsetjmp
- From: "schwab at linux-m68k dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 7 Jun 2010 08:40:02 -0000
- Subject: [Bug nptl/11670] Variables defined in pthread_cleanup_push() macro may be optimised away which breaks __sigsetjmp
- References: <20100605071837.11670.ceggers@gmx.de>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From schwab at linux-m68k dot org 2010-06-07 08:40 -------
Which compiler are you using? Since the variables are not modified between
setjmp and longjmp they must retain their values even after setjmp returns the
second time and the compiler is not allowed to reuse their stack location. This
looks like a compiler bug.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
http://sourceware.org/bugzilla/show_bug.cgi?id=11670
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.