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]
Other format: [Raw text]

Re: suggestion for projects page: sort frame vars


On Mon, Jan 10, 2005 at 03:30:39PM -0500, DJ Delorie wrote:
> The theory behind this change is that some ports either have limited
> frame pointer or stack pointer displacements, or can optimize smaller
> displacements.  By sorting frame variables by size, gcc can cause more
> of them to be within this limited displacement.

The problem is much more complicated than you're giving it credit.
There was a patch for this a few years ago, but it never got reviewed.


r~


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