Am 03.01.2013 um 20:34 schrieb Vincent Rivière:
Depending on target architecture, gcc also saves and restores the math coprocessor scratch registers (FP0-FP1) which might or might not be what you want. The construct is fragile/dependent regarding other compiler switches (-fomit-frame-pointer, for example) - I found it often necessary to check the generated code to avoid surprises when writing code for different architectures since the stack frame changes when you change compiler switches. Regards, Markus |