RE: Updating multilib support after a compiler is built

2010-05-21 Thread Jon Beniston
Thanks for the suggestions. > If you only want to optimize some libraries but not others, GCC doesn't > effectively support different multilibs having different sets of libraries either. > My proposal > would have the effect of making it much easie

Re: LTO and libelf (and FreeBSD)

2010-05-21 Thread Richard Guenther
On Thu, May 20, 2010 at 7:19 PM, Kai Wang wrote: > On Sun, May 02, 2010 at 11:38:39PM +0200, Gerald Pfeifer wrote: >> As http://gcc.gnu.org/ml/gcc-testresults/2010-05/msg00120.html shows, >> *-unknown-freebsd* exhibits tons of failures around LTO. >> >> I dug a bit deeper, and even the most trivia

Re: Proposal: remove the Obj-C++ front end

2010-05-21 Thread Richard Guenther
On Thu, May 20, 2010 at 10:20 PM, Steven Bosscher wrote: > On Thu, May 20, 2010 at 9:54 PM, IainS > wrote: >> No Asbestos required - but .. I do have some observations.. >> >>  I write pretty much all my serious (day-job) code in ObjC and.. >> ...  I have stated that it's an intention to make *t

Re: [PATCH, RFC] plugin to warn about surplus includes

2010-05-21 Thread Bernhard Reutner-Fischer
On Tue, May 18, 2010 at 06:53:18PM -0500, Joel Sherrill wrote: >Would there be a way to exclude specific files? Say something like >config.h that by convention you might want every file to include? Adding a -fplugin-arg-warn_include-exclude-from= should be doable, sure. cheers,

Re: Where does the time go?

2010-05-21 Thread Richard Guenther
On Thu, May 20, 2010 at 11:21 PM, Xinliang David Li wrote: > On Thu, May 20, 2010 at 2:18 PM, Steven Bosscher > wrote: >> On Thu, May 20, 2010 at 11:14 PM, Xinliang David Li >> wrote: >>> stack variable overlay and stack slot assignments is here too. >> >> Yes, and for these I would like to ad

v2: plugin to warn about surplus includes

2010-05-21 Thread Bernhard Reutner-Fischer
On Tue, May 18, 2010 at 11:05:46PM +0200, Bernhard Reutner-Fischer wrote: >Hi, >Observations while thinking about all this: [] >- should figure out how to print a help-text for the plugin > Hints? >- should handle structs. updated variant that handles functions a little bit better. /* Dump super

Re: Where does the time go?

2010-05-21 Thread Jan Hubicka
> On Thu, May 20, 2010 at 11:21 PM, Xinliang David Li > wrote: > > On Thu, May 20, 2010 at 2:18 PM, Steven Bosscher > > wrote: > >> On Thu, May 20, 2010 at 11:14 PM, Xinliang David Li > >> wrote: > >>> stack variable overlay and stack slot assignments is here too. > >> > >> Yes, and for these

Re: Where does the time go?

2010-05-21 Thread Richard Guenther
2010/5/21 Jan Hubicka : >> On Thu, May 20, 2010 at 11:21 PM, Xinliang David Li >> wrote: >> > On Thu, May 20, 2010 at 2:18 PM, Steven Bosscher >> > wrote: >> >> On Thu, May 20, 2010 at 11:14 PM, Xinliang David Li >> >> wrote: >> >>> stack variable overlay and stack slot assignments is here to

Re: Where does the time go?

2010-05-21 Thread Jan Hubicka
> 2010/5/21 Jan Hubicka : > >> On Thu, May 20, 2010 at 11:21 PM, Xinliang David Li > >> wrote: > >> > On Thu, May 20, 2010 at 2:18 PM, Steven Bosscher > >> > wrote: > >> >> On Thu, May 20, 2010 at 11:14 PM, Xinliang David Li > >> >> wrote: > >> >>> stack variable overlay and stack slot assign

Re: powerpc-eabi-gcc no implicit FPU usage

2010-05-21 Thread Nathan Froyd
On Thu, May 20, 2010 at 08:59:32PM -0700, Mark Mitchell wrote: > David Edelsohn wrote: > > No one disagrees with the potential benefit of the feature. > > OK; I must have misremembered. > > I believe our current implementation keeps track of FP usage through the > front-end, and then disables any

Re: Proposal: remove the Obj-C++ front end

2010-05-21 Thread IainS
On 21 May 2010, at 10:12, Richard Guenther wrote: On Thu, May 20, 2010 at 10:20 PM, Steven Bosscher > wrote: On Thu, May 20, 2010 at 9:54 PM, IainS > wrote: No Asbestos required - but .. I do have some observations.. I write pretty much all my serious (day-job) code in ObjC and.. ... I have

Fw: quesitons about gcc 4.4.1

2010-05-21 Thread lin li
Dear Sir/Madam, I have some questions about GCC/G++ 4.4.1. The first questions is that we find that the gcc compiler support some C99 extensions by default. For example, the gcc 4.4 document says "New character data types, per TR 19769: New character types in C, are now supported for the C co

Re: Where does the time go?

2010-05-21 Thread Xinliang David Li
On Fri, May 21, 2010 at 2:24 AM, Richard Guenther wrote: > On Thu, May 20, 2010 at 11:21 PM, Xinliang David Li > wrote: >> On Thu, May 20, 2010 at 2:18 PM, Steven Bosscher >> wrote: >>> On Thu, May 20, 2010 at 11:14 PM, Xinliang David Li >>> wrote: stack variable overlay and stack slot

Re: Where does the time go?

2010-05-21 Thread Richard Guenther
On Fri, May 21, 2010 at 6:13 PM, Xinliang David Li wrote: > On Fri, May 21, 2010 at 2:24 AM, Richard Guenther > wrote: >> On Thu, May 20, 2010 at 11:21 PM, Xinliang David Li >> wrote: >>> On Thu, May 20, 2010 at 2:18 PM, Steven Bosscher >>> wrote: On Thu, May 20, 2010 at 11:14 PM, Xinlia

Re: Performance optimizations for Intel Core 2 and Core i7 processors

2010-05-21 Thread Vladimir N. Makarov
On 05/17/2010 02:44 AM, Maxim Kuvyrkov wrote: CodeSourcery is working on improving performance for Intel's Core 2 and Core i7 families of processors. CodeSourcery plans to add support for unaligned vector instructions, to provide fine-tuned scheduling support and to update instruction selecti

Re: Fw: quesitons about gcc 4.4.1

2010-05-21 Thread Ian Lance Taylor
lin li writes: > I have some questions about GCC/G++ 4.4.1. The first questions is > that we find that the gcc compiler support some C99 extensions by > default. For example, the gcc 4.4 document says "New character data > types, per TR 19769: New character types in C, are now supported for > the

stack slot reuse

2010-05-21 Thread Xinliang David Li
On Fri, May 21, 2010 at 2:24 AM, Richard Guenther wrote: > On Thu, May 20, 2010 at 11:21 PM, Xinliang David Li > wrote: >> On Thu, May 20, 2010 at 2:18 PM, Steven Bosscher >> wrote: >>> On Thu, May 20, 2010 at 11:14 PM, Xinliang David Li >>> wrote: stack variable overlay and stack slot

Re: stack slot reuse

2010-05-21 Thread Richard Guenther
On Fri, May 21, 2010 at 7:30 PM, Xinliang David Li wrote: > On Fri, May 21, 2010 at 2:24 AM, Richard Guenther > wrote: >> On Thu, May 20, 2010 at 11:21 PM, Xinliang David Li >> wrote: >>> On Thu, May 20, 2010 at 2:18 PM, Steven Bosscher >>> wrote: On Thu, May 20, 2010 at 11:14 PM, Xinlia

Re: Where does the time go?

2010-05-21 Thread Diego Novillo
Interesting. Thanks for gathering this. I did a similar study internally on our C++ codebase. The results are fairly different. In our case, the front end takes a LARGE chunk of the compile time. The numbers below are taken from a full build of one of our applications, consisting of ~4,500 C++

Re: stack slot reuse

2010-05-21 Thread Xinliang David Li
On Fri, May 21, 2010 at 10:35 AM, Richard Guenther wrote: > On Fri, May 21, 2010 at 7:30 PM, Xinliang David Li wrote: >> On Fri, May 21, 2010 at 2:24 AM, Richard Guenther >> wrote: >>> On Thu, May 20, 2010 at 11:21 PM, Xinliang David Li >>> wrote: On Thu, May 20, 2010 at 2:18 PM, Steven B

Re: stack slot reuse

2010-05-21 Thread Richard Guenther
On Fri, May 21, 2010 at 10:29 PM, Xinliang David Li wrote: > On Fri, May 21, 2010 at 10:35 AM, Richard Guenther > wrote: >> On Fri, May 21, 2010 at 7:30 PM, Xinliang David Li >> wrote: >>> On Fri, May 21, 2010 at 2:24 AM, Richard Guenther >>> wrote: On Thu, May 20, 2010 at 11:21 PM, Xinli