David Brown wrote:
It is even free to reorganise the array, or keep it all in registers (I don't think any compilers do that, but maybe one day...),
In a piece of DSP code, our LLVM-based compiler was able to convert a small temporary array into a set of scalar variables, which subsequently ended up in registers. So at least LLVM is able to do this today. I would be somewhat surprised if gcc were not capable of doing similar things. I am not entirely convinced that using pointer arithmetic instead of array subscripting would make much difference here though, but I am not a C expert by any means. -- Pertti _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list