Re: LTO branch merged into trunk - trunk remains CLOSED

2009-10-05 Thread Frank Ch. Eigler
Diego Novillo writes: > The LTO branch has been merged into trunk at revision 152434. > [...] Congrats. > [...] That's it. The result should, in principle, execute faster > but our IPA cost models are still not tweaked for LTO. We've seen > speedups as well as slowdowns in benchmarks (see th

Re: LTO branch merged into trunk - trunk remains CLOSED

2009-10-04 Thread Richard Guenther
On Sun, Oct 4, 2009 at 3:45 AM, Ryan Hill wrote: > On Sat, 3 Oct 2009 17:12:17 -0400 > Diego Novillo wrote: > >> Instructions on how to enable LTO support are described in the >> manual.  The following is a summary: >> >> - Install libelf 0.8.12+ (http://www.mr511.de/software/libelf-0.8.12.tar.gz

Re: LTO branch merged into trunk - trunk remains CLOSED

2009-10-03 Thread Ryan Hill
On Sat, 3 Oct 2009 17:12:17 -0400 Diego Novillo wrote: > Instructions on how to enable LTO support are described in the > manual. The following is a summary: > > - Install libelf 0.8.12+ (http://www.mr511.de/software/libelf-0.8.12.tar.gz) > Other versions of libelf are commonly installed in L

Re: LTO branch merged into trunk - trunk remains CLOSED

2009-10-03 Thread Diego Novillo
On Sat, Oct 3, 2009 at 19:40, Diego Novillo wrote: > On Sat, Oct 3, 2009 at 18:24, Richard Guenther > wrote: >> On Sat, Oct 3, 2009 at 11:12 PM, Diego Novillo wrote: >>> The LTO branch has been merged into trunk at revision 152434. >> >> Btw, I think this deserves a news entry on the main page a

Re: LTO branch merged into trunk - trunk remains CLOSED

2009-10-03 Thread Diego Novillo
On Sat, Oct 3, 2009 at 18:24, Richard Guenther wrote: > On Sat, Oct 3, 2009 at 11:12 PM, Diego Novillo wrote: >> The LTO branch has been merged into trunk at revision 152434. > > Btw, I think this deserves a news entry on the main page as well as > (obviously) > an entry for gcc-4.5/changes.html

Re: LTO branch merged into trunk - trunk remains CLOSED

2009-10-03 Thread Richard Guenther
On Sat, Oct 3, 2009 at 11:12 PM, Diego Novillo wrote: > The LTO branch has been merged into trunk at revision 152434. Btw, I think this deserves a news entry on the main page as well as (obviously) an entry for gcc-4.5/changes.html. Richard.

Re: LTO branch merged into trunk - trunk remains CLOSED

2009-10-03 Thread Diego Novillo
On Sat, Oct 3, 2009 at 17:32, Richard Guenther wrote: > Note that one missing feature is picking up entries from static library > archives at link time. This is true when using GNU ld. But it works just fine if you configure gcc with --enable-gold and compile with -use-linker-plugin. Diego.

Re: LTO branch merged into trunk - trunk remains CLOSED

2009-10-03 Thread Richard Guenther
On Sat, Oct 3, 2009 at 11:12 PM, Diego Novillo wrote: > The LTO branch has been merged into trunk at revision 152434. ... > To enable LTO, simply add the flag '-flto' to both compile and > link commands.  It doesn't really matter whether you compile and > link in separate invocations or a single o