Curious about gcc v4.1.2, x86 assembly, and stack overallocation

rkiesling rkiesling@earthlink.net
Wed May 28 16:21:00 GMT 2008


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



More information about the Gcc-help mailing list