Hi,
I got some undesired behaviour with the compiler's generated code. It's said in the manual that structures and double words should be aligned to 8 bytes. I am makinh sure that the start if the stack is aligned to 8 bytes. Given that, some structures created within a function are not aligned to double-words, and subsequent read/write (which uses strd and ldrd instructions) accesses causes an exception to occur and hence the program hangs. Is there a compiler flag to force such a problem? Most of the flags like -malign-double -m64 are machine dependent (x86, sparc).
Regards,
Hesham