Dear all, I've been looking to a problem where if I have this defined in the function:
void foo(int len) { long arr[len]; ... } I get a complicated code to calculate the address of this variable-length array. It seems that the compiler is aligning the array when this code: void foo(int len) { long arr[512]; ... } Simply moves the stack pointer 512*sizeof(long) bytes down. I suppose this is a Machine Description problem but was wondering if you had any tips on where to look? Thanks for your help, Jean Christophe Beyler