This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Why auto variables NOT overlap on stack?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]