------- Comment #10 from hjl dot tools at gmail dot com 2008-02-12 15:46 ------- (In reply to comment #3) > Reproducible even with x86_64-linux -> i686-darwin9 cross, at -Os as well as > -O2 -mno-accumulate-outgoing-args. The difference between i686-linux and > i686-darwin9 that matters here is that darwin defines STACK_BOUNDARY to 128, > while linux to 4. >
I think it is wrong to set STACK_BOUNDARY to 128 for 32bit since it is hardware related, not ABI related. They should set PREFERRED_STACK_BOUNDARY instead, which is set to 128 already. On stack alignment branch, we introduced a new macro, ABI_STACK_BOUNDARY, to handle different ABIs. -- hjl dot tools at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hjl dot tools at gmail dot | |com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34621