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


> I believe it would be a better strategy to have a define_expand that
> could be used to get the frame pointer aligned to any power of two.

When you align the frame pointer, you can no longer access the arguments
on the stack via the frame pointer.  Moreover, you'd have to restore
the frame pointer at the function end.


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