diff mbox

[changes,fortran,committed] Mention -ffrontend-optimize and -Wfunction-elimination

Message ID 4DA1A7FF.1040006@netcologne.de
State New
Headers show

Commit Message

Thomas Koenig April 10, 2011, 12:52 p.m. UTC
Hello world,

I committed the following as obvious, after verifying with the
w3c validator.

RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.7/changes.html,v
retrieving revision 1.6
retrieving revision 1.7
        functions.</li>
diff mbox

Patch

diff -u -r1.6 -r1.7
--- changes.html        4 Apr 2011 07:08:12 -0000       1.6
+++ changes.html        10 Apr 2011 09:28:44 -0000      1.7
@@ -61,8 +61,12 @@ 

  <h3>Fortran</h3>
    <ul>
-    <li>The compiler now always eliminates duplicate calls of pure 
functions
-      within a single scalar expression. The
+    <li>Front-end optimizations can now be selected by the
+      <code>-ffrontend-optimize</code> option and deselected by
+      the <code>-fno-frontend-optimize</code> option.</li>
+    <li>When front-end optimization removes a function call, the
+      <code>-Wfunction-elimination</code> warns about the removal.</li>
+    <li>When performing front-end-optimzation, the
        <code>-faggressive-function-elimination</code> option
        allows the removal of duplicate function calls even for impure