Re: 'C' Operators precedence

David Todd (
Wed, 20 May 1998 14:30:07 -0400

> And this _without_ optimisation. gcc is right to do this; if a function
> clobbers registers, then let it do so when the variables don't contain
> anything interersting anyway.

Umm, the reason why there is a penalty for calling a function (and why c++ has
inline functions to avoid the penalty) is because calling a function pushes
all the registers onto the stack, and restores them afterward.

Hacksaw = David Charles Todd
GTEI-BBNT = Hacksaw's Employer
Hacksaw's Opinions != GTEI-BBNT's Opinions
Linux understands you.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to