Why auto variables NOT overlap on stack?

Andrew Pinski pinskia@gmail.com
Sun Feb 7 01:40:00 GMT 2010


On Sat, Feb 6, 2010 at 5:12 PM, Ding Curie <ding.curie@gmail.com> wrote:
> (I asked this question on the gcc-help mailing list, but no answer
> yet. It seems no one there knows or is interested in the internals of
> gcc. So, please forgive me for cross-posting the question here again.
> )


Works for me on i686-pc-darwin with GCC 4.0.0 and above.  It does
print out -1024 on powerpc-darwin with GCC 3.3 though.
What version of GCC are you using?


Thanks,
Andrew Pinski



More information about the Gcc mailing list