------- Comment #25 from whaley at cs dot utsa dot edu 2009-07-24 17:05 ------- Richard,
>GCC does not assume the stack is aligned to 16 bytes if it cannot prove that >it is. If this is true now, it is a change from previous behavior. When I reported this problem, gcc *assumed* 16-byte alignment on the stack being passed in, and so gcc-compiled programs seg fault when called from ABI-compliant compliant compilers (eg., icc or msvc++). I agree with you that aligning the internal stack to any multiple of 4 is compliant, but assuming greater than 4-byte alignment on entry is not. Are you saying that the new gcc has stopped assuming 16-byte alignment? It definitely made that assumption before . . . Thanks, Clint -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38496