Hi, > A version 2 there is one local variable allocation less than at version 1.Is this step automatically done by gcc, or can i > improve the performance of code by doing this myself? Such simple optimizations are done automatically by gcc, no need at all to change your code. - Clemens