This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: i386 stack missalignment on main
- To: Joern Rennecke <amylaar at redhat dot com>
- Subject: Re: i386 stack missalignment on main
- From: law at redhat dot com
- Date: Tue, 31 Jul 2001 00:27:08 -0600
- cc: aoliva at redhat dot com (Alexandre Oliva), 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
- Reply-To: law at redhat dot com
In message <200107310221.f6V2LsR08857@phal.cambridge.redhat.com>you write:
> > > When you align the frame pointer, you can no longer access the argument
> s
> > > 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 fig
> ment of the compilers imagination. It has to be eliminated.
Err, no. There are some with argument pointers which are actively used.
PA64 is a good example.
jeff