Add more noreturn attributes

Ulrich Drepper drepper@redhat.com
Sat Apr 21 11:37:00 GMT 2001


Andreas Jaeger <aj@suse.de> writes:

> The appended patch silences most of the "function might be possible
> candidate for attribute `noreturn'" warnings from GCC.

OK.

> I've got one question about thread_func in
> linuxthreads/sysdeps/pthread/timer_routines.c which has a while (1)
> loop.  Can it ever return?  gcc issues the noreturn warning.

I cannot return.  And the unlock call can go therefore.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------



More information about the Libc-hacker mailing list