Re: __attribute__ , noreturn

From: Khimenko Victor (khim@sch57.msk.ru)
Date: Mon Mar 13 2000 - 09:49:58 EST


In <Pine.BSF.3.96.1000313164007.13112D-100000@ravi.lums.edu.pk> Tiger (01020042@ravi.lums.edu.pk) wrote:
> Can some one explain what exactly it does __attribute__ and what is
> noretun

RTFM, as usual :-) This time gcc's info ... It's all explained there ...

P.S. noreturn mean exactly what you'll think: that function will NEVER return.
It'll supress some compiler warnings and sometimes optimizer can use that info
as well (I'm not sure if it really used by optimizer though)...

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:25 EST