This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gcc-wwwdocs".

The branch, master has been updated
       via  5d134ccb84594ad2534635f70fe520b275310636 (commit)
      from  7bbe93c3010984a8e0653051e1036e80512a00a1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5d134ccb84594ad2534635f70fe520b275310636
Author: Thomas Koenig <[email protected]>
Date:   Sat Jun 27 16:48:17 2026 +0200

    Mention new set vs. used warning options for Fortran.
    
            * htdocs/gcc-17/changes.html: Document the effectiveness
            of -Wunused-but-set-variables and the new options -Wundefined-vars,
            -Wunused-intent-out and -Wunused-read.

diff --git a/htdocs/gcc-17/changes.html b/htdocs/gcc-17/changes.html
index 6f99bb1f..f4ec340c 100644
--- a/htdocs/gcc-17/changes.html
+++ b/htdocs/gcc-17/changes.html
@@ -86,6 +86,27 @@ a work-in-progress.</p>
       supported.  Additionally, the <code>f_c_string</code> intrinsic
       has been reimplemented to be more efficient.
   </li>
+  <li> The
+    <a 
href="https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable";>
+      <code>-Wunused-but-set-variables</code> </a> option is now
+    effecive for Fortran.
+  </li>
+  <li> The new option
+    <a 
href="https://gcc.gnu.org/onlinedocs/gfortran/Error-and-Warning-Options.html#index-Wundefined-vars";>
+      <code>-Wundefined-vars</code></a> option, enabled
+    by <code>-Wall</code>, warns about variables that are used that
+    have not been defined (i.e. have no value assigned to them).
+  </li>
+  <li>
+    The new options
+    <a 
href="https://gcc.gnu.org/onlinedocs/gfortran/Error-and-Warning-Options.html#index-Wunused-read";>
+      <code>-Wunused-read</code></a> and
+    <a 
href="https://gcc.gnu.org/onlinedocs/gfortran/Error-and-Warning-Options.html#index-Wunused-intent-out";>
+      <code>-Wunused-intent-out</code></a>, both
+    enabled by <code>-Wextra</code>,
+    warn about variables in <code>READ</code> statements and variables passed 
to
+    <code>INTENT(OUT)</code> variables, respectively, whose values are never 
used.
+  </li>
 </ul>
 
 <!-- <h3 id="go">Go</h3> -->

-----------------------------------------------------------------------

Summary of changes:
 htdocs/gcc-17/changes.html | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)


hooks/post-receive
-- 
gcc-wwwdocs

Reply via email to