Re: LTO branch merged into trunk - trunk remains CLOSED

Diego Novillo <[email protected]>
Newsgroups gmane.comp.gcc.devel,gmane.comp.gcc.fortran,gmane.comp.gcc.java.devel
Message-ID <[email protected]>
On Sat, Oct 3, 2009 at 19:40, Diego Novillo <[email protected]> wrote:
> On Sat, Oct 3, 2009 at 18:24, Richard Guenther
> <[email protected]> wrote:
>> On Sat, Oct 3, 2009 at 11:12 PM, Diego Novillo <[email protected]> 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.
>
> Yes.  I will take care of both.

Done with this patch.  Committed to wwwdocs.

Diego.


Index: htdocs/index.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/index.html,v
retrieving revision 1.718
diff -d -u -p -r1.718 index.html
--- htdocs/index.html	19 Sep 2009 21:00:47 -0000	1.718
+++ htdocs/index.html	4 Oct 2009 01:01:32 -0000
@@ -45,6 +45,13 @@ mission statement</a>.</p>

 <dl class="news">

+<dt>October 3, 2009</dt>
+<dd>The <a href="http://gcc.gnu.org/wiki/LinkTimeOptimization">LTO</a>
+branch has been merged into trunk.  The next release of GCC will
+feature a new whole-program optimizer, able to perform interprocedural
+optimizations across different files, even if they are written in
+different languages.</dd>
+
 <dt>August 4, 2009</dt>
 <dd><a href="gcc-4.3/">GCC 4.3.4</a> has been released.</dd>

Index: htdocs/svn.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/svn.html,v
retrieving revision 1.138
diff -d -u -p -r1.138 svn.html
--- htdocs/svn.html	30 Sep 2009 05:10:15 -0000	1.138
+++ htdocs/svn.html	4 Oct 2009 01:01:32 -0000
@@ -175,11 +175,6 @@ the command <code>svn log --stop-on-copy
   <dd>The purpose of this branch is to develop an infrastructure for loop
   transforms using the polyhedral model.</dd>

-  <dt><a href="http://gcc.gnu.org/wiki/LinkTimeOptimization">lto</a></dt>
-  <dd>This branch aims to implement link-time optimization.  Patches
-  and discussion on this branch should be marked with the tag
-  <code>[lto]</code> in the subject line.</dd>
-
   <dt><a href="http://gcc.gnu.org/wiki/LightweightIpo">lw-ipo</a></dt>
   <dd>This branch aims to implement lightweight IPO.  Patches
   and discussion on this branch should be marked with the tag
@@ -950,6 +945,9 @@ be prefixed with the initials of the dis
   Michael Meissner,
   <a href="mailto:[email protected]">[email protected]</a>.</dd>

+  <dt><a href="http://gcc.gnu.org/wiki/LinkTimeOptimization">lto</a></dt>
+  <dd>This branch implemented link-time optimization.</dd>
+
 </dl>

 </body>
Index: htdocs/gcc-4.5/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.5/changes.html,v
retrieving revision 1.33
diff -d -u -p -r1.33 changes.html
--- htdocs/gcc-4.5/changes.html	30 Sep 2009 18:25:32 -0000	1.33
+++ htdocs/gcc-4.5/changes.html	4 Oct 2009 01:01:32 -0000
@@ -48,6 +48,16 @@
     supported before; for those a fall back is used if MPC is not
     available.</li>

+    <li>A new link-time optimizer has been added (<code>-flto</code>).
+    When this flag is used, GCC generates a bytecode representation of
+    each input file and writes it to special ELF sections in each
+    object file.  When the object files are linked together, all the
+    function bodies are read from these ELF sections and instantiated
+    as if they had been part of the same translation unit.  This
+    enables interprocedural optimizations to work across different
+    files (and even different languages), potentially improving the
+    performance of the generated code.</li>
+
   </ul>

 <h2>New Languages and Language specific improvements</h2>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.