This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: order of local variables in stack frame
- From: Robert Dewar <dewar at adacore dot com>
- To: Markus dot Franke at informatik dot tu-chemnitz dot de
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 23 Jan 2007 08:20:36 -0500
- Subject: Re: order of local variables in stack frame
- References: <45B60A6D.9080607@informatik.tu-chemnitz.de>
Markus Franke wrote:
Please let me know whether I missunderstood something completely. If
this behaviour is correct what can I do to change it to the other way
around. Which macro variable do I have to change?
There is no legitimate reason to care about the order of variables
in the local stack frame! Or at least I don't see one, why do *you*
care? Generally one may want to reorder the variables for alignment
purposes anyway.