Re: how to make sure an init routine is kept in the call graph?

2011-04-22 Thread Richard Guenther
On Fri, Apr 22, 2011 at 8:35 AM, Gary Funck wrote: > > Recently, we tried to merge the GCC trunk into the GUPC branch > and ran into an issue caused by a recent GCC update. > The last successful merge was trunk version 172359, fyi. > > For certain UPC file scope static initializers, > a per file i

Re: Traversing typedef hierarchy in C/C++ tree

2011-04-22 Thread Boris Kolpackov
Hi Ian, Ian Lance Taylor writes: > Unfortunately we have discovered over time that all the memory usage > matters. A rule of thumb for gcc is that compilation speed is roughly > proportional to the amount of memory used. I think fundamentally the requirements of those who use GCC as just a com

Re: Traversing typedef hierarchy in C/C++ tree

2011-04-22 Thread Basile Starynkevitch
On Fri, 22 Apr 2011 14:15:11 + (UTC) Boris Kolpackov wrote: > > I think fundamentally the requirements of those who use GCC as just a > compiler and those who use it to do other things (via plugins) will be > often at odds. The "compiler users" will always strive to keep as little > syntactic

libgcc helpers __cmpsi2/__ucmpsi2

2011-04-22 Thread Peter Bigot
I'm updating the machine description for a 16-bit microcontroller, and am trying to eliminate some hand-coded SImode and DImode insns because in general gcc generates better code automatically. So far, I've found no case where I seem to need to implement cbranchsi4 or cbranchdi4. However, gcc doe

Re: libgcc helpers __cmpsi2/__ucmpsi2

2011-04-22 Thread Ian Lance Taylor
Peter Bigot writes: > I'm updating the machine description for a 16-bit microcontroller, and am > trying to eliminate some hand-coded SImode and DImode insns because in > general gcc generates better code automatically. So far, I've found no case > where I seem to need to implement cbranchsi4 or

Re: how to make sure an init routine is kept in the call graph?

2011-04-22 Thread Gary Funck
On 04/22/11 11:14:11, Richard Guenther wrote: > GF: What is needed in the new scheme of things to ensure that this > GF: initialization function stays in the call graph? > > Try setting DECL_PRESERVE_P to 1. Richard, thanks. That worked. - Gary

RE: GCC 4.4/4.6/4.7 uninitialized warning regression?

2011-04-22 Thread Hargett, Matt
> > This brings out 2 questions. Why don't GCC 4.4/4.6/4.7 warn it? > > Why doesn't 64bit GCC 4.2 warn it? > Good question. It seems that the difference is whether the compiler > generates a field-by-field copy or a call to memcpy(). According to > David, the trunk gcc in 32-bit mode doesn't call

Reminder - GCC Gathering in London 17/Jun to 19/Jun 2011

2011-04-22 Thread Diego Novillo
We are starting to run tight on space. If you are thinking of attending this event, please let us know soon. Thanks. Diego. -- Forwarded message -- From: Diego Novillo Date: Fri, Apr 15, 2011 at 09:44 Subject: Reminder - GCC Gathering in London 17/Jun to 19/Jun 2011 To: g...

gcc-4.6-20110422 is now available

2011-04-22 Thread gccadmin
Snapshot gcc-4.6-20110422 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.6-20110422/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.6 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

Re: Reminder - GCC Gathering in London 17/Jun to 19/Jun 2011

2011-04-22 Thread Philip Herron
Looks like i should be in England at the time kind of nervous pop'ing along but i plant to be there so might as well :) --Phil