>       Would specifying the function as no_return avoid register saving?

I think so, but you will then have to take care of actually doing the return 
yourself.

>       Any tips o what behaviour will result from this (so I can keep an
>eye out for it)?

I think the compiler will abort if it runs out of registers totally.  It 
shouldn't generate bad code these days.

>Also what optimisation levels are 'safe' for kernel
>coding? I seem to remember some mention of optimisations on ARM gcc
>producing broken code.

Anything should be safe, but -O3 or higher will probably start to generate 
worse code than -O2.

p.


unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to