This is the mail archive of the gcc@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


> 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.


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