This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: i386 stack missalignment on main


  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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]