[Bug target/39137] [4.4 Regression] -mpreferred-stack-boundary=2 causes lots of dynamic realign

hjl dot tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Feb 17 15:41:00 GMT 2009



------- Comment #24 from hjl dot tools at gmail dot com  2009-02-17 15:40 -------
(In reply to comment #23)
> I guess I can live with a switch, the kernel folks will just need to add it.
> Now, should that switch be about disabling all dynamic stack realignments, or
> do that for DImode only, or decrease DImode alignment when on stack to 32-bits?
> 

We shouldn't tell compiler to disable dynamic stack alignment
while asking compiler to align variables on stack. We should
add a new command line option to align DImode to 4byte on stack
for 32bit host.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39137



More information about the Gcc-bugs mailing list