public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/32292] New: pthread_exit should have attribute __noreturn__
@ 2007-06-11 20:47 scovich at gmail dot com
2007-06-11 20:57 ` [Bug c/32292] " pinskia at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: scovich at gmail dot com @ 2007-06-11 20:47 UTC (permalink / raw)
To: gcc-bugs
The following generates a spurious warning about control reaching the end of a
non-void function:
#include <pthread.h>
void* foo(void*) {
pthread_exit(1);
}
--
Summary: pthread_exit should have attribute __noreturn__
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: scovich at gmail dot com
GCC target triplet: i686-pc-cygwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32292
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-06-11 20:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-11 20:47 [Bug c/32292] New: pthread_exit should have attribute __noreturn__ scovich at gmail dot com
2007-06-11 20:57 ` [Bug c/32292] " pinskia at gcc dot gnu dot org
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).