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:21:54 +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
> > When you align the frame pointer, you can no longer access the arguments
> > on the stack via the frame pointer.
>
> Precisely. That's why I suggest we should no longer eliminate the
> argument pointer in favor of the frame pointer, and that the frame
> pointer could no longer be eliminated.
But on pretty much any modern processor, the argument pointer is only a figment of the compilers imagination. It has to be eliminated.