Am 06.12.2002 21:16:43, schrieb "David Brown" <da...@westcontrol.com>:
>Also, is there any way to optomise tail calls (if that is the right word) ?
>I am thinking of a function that ends with a call to another function, where
>the "call #...; ret" pair is replaced with a "jmp ..." instruction.

not sure but does __attribute__((noreturn))  solve your problem?
http://gcc.gnu.org/onlinedocs/gcc-3.0.4/gcc_5.html#SEC94

chris




Reply via email to