This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch][4.5] Backport Mach-O LTO support


On Thu, Jun 24, 2010 at 10:26 PM, Richard Guenther
<richard.guenther@gmail.com> wrote:
> On Thu, Jun 24, 2010 at 9:38 PM, Steven Bosscher <stevenb.gcc@gmail.com> wrote:
>> Hi,
>>
>> Pretty straight-forward port of the patches from trunk to gcc 4.5.1.
>> There are new test suite failures if configured with --enable-lto but
>> those are the same as on trunk (where some test cases have been
>> patched to xfail ELF-isms in the lto test suite).
>>
>> Bootstrapped & tested on x86_64-unknown-linux-gnu. OK for GCC 4.5?
>
> Ok. ?Can you amend gcc-4.5/changes.html (adding a GCC 4.5.1 section
> like we have for previous releases)?

Sure. Like so?

Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.5/changes.html,v
retrieving revision 1.91
diff -u -r1.91 changes.html
--- changes.html	6 Jun 2010 13:36:29 -0000	1.91
+++ changes.html	24 Jun 2010 20:50:08 -0000
@@ -832,6 +832,23 @@
     </li>
   </ul>

+<h2><a name="4.5.1">GCC 4.5.1</a></h2>
+
+<h3>All languages</h3>
+  <ul>
+    <li><p>GCC's new link-time optimizer (<code><a
+    href="http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-flto-801";
+    >-flto</a></code>) now also works on a few non-ELF targets:</p>
+
+    <ul>
+      <li>Cygwin (*-cygwin*)</li>
+      <li>MinGW (*-mingw*)</li>
+      <li>Darwin on x86-64 (x86_64-apple-darwin*)</li>
+    <ul>
+
+    <p>LTO is not enabled by default for these targets.  To enable LTO,
+    you should configure with the <code>--enable-lto</code> option.</p>
+  </ul>

 </body>
 </html>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]