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 05:47:07 +0100 (BST)
- Cc: amylaar at redhat dot com (Joern Rennecke), 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
> pointer, for that matter). Unless we keep the stack pointer
> mis-aligned, and only guarantee alignment of the frame pointer. Then,
> we can still eliminate the argument pointer in favor of the stack
> pointer. The alternative is to find out at run-time the stack-pointer
No, you can't eliminate the stack pointer in the cases where the
frame pointer could not normally eliminated, i.e. when using alloca or
dynamic arrays.