This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Curious about gcc v4.1.2, x86 assembly, and stack overallocation
- From: Andrew Haley <aph at redhat dot com>
- To: gdb guy <gdb dot guy1 at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 27 May 2008 19:10:40 +0100
- Subject: Re: Curious about gcc v4.1.2, x86 assembly, and stack overallocation
- References: <d662e0a00805271042l1ed5d93fq523a8af7d856d43f@mail.gmail.com>
gdb guy wrote:
> If I have the following code:
>
>
> Basically I'm just curious to understand why gcc adds this extra space.
The stack pointer is always 16-aligned. Does that help?
Andrew.