This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: i386 stack missalignment on main
- To: aoliva at redhat dot com (Alexandre Oliva)
- Subject: Re: i386 stack missalignment on main
- From: Joern Rennecke <amylaar at redhat dot com>
- Date: Tue, 31 Jul 2001 03:12:51 +0100 (BST)
- Cc: jh at suse dot cz (Jan Hubicka), rth at redhat dot com (Richard Henderson),gcc at gcc dot gnu dot org, aj at suse dot de, gcc-patches at gcc dot gnu dot org
> I believe it would be a better strategy to have a define_expand that
> could be used to get the frame pointer aligned to any power of two.
When you align the frame pointer, you can no longer access the arguments
on the stack via the frame pointer. Moreover, you'd have to restore
the frame pointer at the function end.