Re: Stack allocation

2011-11-18 Thread Alexandru Juncu
On Fri, Nov 18, 2011 at 1:24 PM, David Brown wrote: > On 18/11/2011 10:27, Alexandru Juncu wrote: >> >> Hello! >> >> I have a curiosity with something I once tested. I took a simple C >> program and made an assembly file with gcc -S. >> >> The C fil

Stack allocation

2011-11-18 Thread Alexandru Juncu
the reason for this, is it an optimization (does is matter what's the -O used?) or is it architecture dependent (I ran it on x86) and is this just in gcc, just in a certain version of gcc or this is universal? Thank you! -- Alexandru Juncu ROSEdu