This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/14583] New: Incorrect prototype for sigsetjmp
- From: "law at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Fri, 14 Sep 2012 14:31:24 +0000
- Subject: [Bug nptl/14583] New: Incorrect prototype for sigsetjmp
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=14583
Bug #: 14583
Summary: Incorrect prototype for sigsetjmp
Product: glibc
Version: 2.17
Status: NEW
Severity: normal
Priority: P2
Component: nptl
AssignedTo: unassigned@sourceware.org
ReportedBy: law@redhat.com
CC: drepper.fsp@gmail.com
Classification: Unclassified
pthread.h declares __sigsetjmp as:
extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) __THROW;
The problem is __sigsetjmp needs to be marked as non-leaf as is the case in
setjmp.h:
extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask)
__THROWNL;
Failure to mark __sigsetjmp correctly can result in GCC eliminating stores that
are not dead. See:
https://bugzilla.redhat.com/show_bug.cgi?id=857236
--
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.