This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Curious about gcc v4.1.2, x86 assembly, and stack overallocation
- From: rkiesling <rkiesling at earthlink dot net>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 28 May 2008 05:00:30 -0400 (EDT)
- Subject: Re: Curious about gcc v4.1.2, x86 assembly, and stack overallocation
- Reply-to: ctalk at ctalklang dot org
gdb guy:
> Basically I'm just curious to understand why gcc adds this extra space.
The effect of a "packed" or "align" attribute accounts for the size of
a struct, but the stack allocation is, of course, system dependent. You
would have to look at the code.
Robert.
--
Ctalk Home Page: http://www.ctalklang.org