public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Number of bytes allocated for char arrays by subl %esp seems much too high (in linux 2.4, gcc 3.2.2
@ 2003-12-06 14:48 Data Networking Course 6
  0 siblings, 0 replies; only message in thread
From: Data Networking Course 6 @ 2003-12-06 14:48 UTC (permalink / raw)
  To: gcc-help

Hi!

I noticed that when I declare a buffer of, for example, char[5], the assembly code generated by gcc actually allocates a much larger buffer, in this case 24 bytes:

subl $24, %esp

How can this be explained?



_____________________________________________________________
Tired of spam & junkmail?
http://www.digiverse.net

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-12-06 14:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-06 14:48 Number of bytes allocated for char arrays by subl %esp seems much too high (in linux 2.4, gcc 3.2.2 Data Networking Course 6

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).