Re: Why auto variables NOT overlap on stack?

2010-02-06 Thread Ding Curie
Thank you, Andrew. > What version of GCC are you using? I'm using GCC 3.4.5 (mingw-vista special r3). I downloaded the latest mingw; I take it for granted that latest mingw uses latest GCC. > Works for me on i686-pc-darwin with GCC 4.0.0 and above.  It does > print out -1024 on powerpc-darwin wit

Re: Why auto variables NOT overlap on stack?

2010-02-06 Thread Andrew Pinski
On Sat, Feb 6, 2010 at 5:12 PM, Ding Curie 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-darwi

Why auto variables NOT overlap on stack?

2010-02-06 Thread Ding Curie
(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. ) Hello, everyone! I'm with the latest MinGW, and following program:

trunk's genmodes crashes on Ubuntu/Lucid (alpha2 snapshot) not on Debian/Sid [both AMD64 architecture]

2010-02-06 Thread Basile STARYNKEVITCH
Hello When building the gcc trunk revision 156557 on Ubuntu lucid AMD64 (the alpha of the next Ubuntu release, which I upgraded just today on Febr 06, 2010), I am getting a repeatable SIGSEGV from genmodes apparently, eq_mode is getting p=q=null pointers. The compiler compiling GCC trunk with

Re: Support for export keyword to use with C++ templates ?

2010-02-06 Thread Kai Henningsen
Dodji Seketeli wrote: > On Sat, Jan 30, 2010 at 01:47:03AM +0200, Timothy Madden wrote: > >> So nobody here wants to try a big thing ? :( >> > > This question strikes me as being not very fair because many GCC people > are already pretty much involved. Would you fancy giving a hand? > >

Re: powerpc-eabi-gcc no implicit FPU usage

2010-02-06 Thread Kai Henningsen
Am Samstag, den 16.01.2010, 23:14 + schrieb Paul Brook: > > > > Is there a way to get GCC to only use the FPU when we explicitly want > > > > to use it (i.e. when we use doubles/floats)? Is -msoft-float my only > > > > option here? Is there any sort of #pragma that could do the same > > >

Re: Problem with stores and loads from unions and proposed fix

2010-02-06 Thread Richard Guenther
On Sat, Feb 6, 2010 at 3:44 AM, Martin Chaney wrote: > This problem showed up in a PDP10 C version of GCC I'm responsible for and > took a good while to track down.  The fix is in generic gcc code so even > though my PDP10 compiler is not an official gcc version and I haven't been > successful at