[pushed,wwwdocs] gcc-13: linkify some options

Message ID 20230208173711.1278104-1-dmalcolm@redhat.com
State Unresolved
Headers
Series [pushed,wwwdocs] gcc-13: linkify some options |

Checks

Context Check Description
snail/gcc-patch-check warning Git am fail log

Commit Message

David Malcolm Feb. 8, 2023, 5:37 p.m. UTC
  ---
 htdocs/gcc-13/changes.html | 29 ++++++++++++++++-------------
 1 file changed, 16 insertions(+), 13 deletions(-)
  

Patch

diff --git a/htdocs/gcc-13/changes.html b/htdocs/gcc-13/changes.html
index 9ecd115c..a48ac220 100644
--- a/htdocs/gcc-13/changes.html
+++ b/htdocs/gcc-13/changes.html
@@ -45,7 +45,8 @@  a work-in-progress.</p>
       supported, either.)</li>
     <li>Legacy debug info compression option <code>-gz=zlib-gnu</code> was removed
       and the option is ignored right now.</li>
-    <li><code>-Warray-bounds=2</code> will no longer issue warnings for out of
+    <li><a href="https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-bounds"><code>-Warray-bounds=2</code></a>
+      will no longer issue warnings for out of
       bounds accesses to trailing struct members of one-element array type
       anymore. Instead it diagnoses accesses to trailing arrays according to
       <code>-fstrict-flex-arrays</code>. </li>
@@ -169,7 +170,7 @@  a work-in-progress.</p>
       <li>Removal of trigraphs</li>
       <li>Removal of unprototyped functions</li>
       <li><code>printf</code> and <code>scanf</code> format checking
-      with <code>-Wformat</code> for <code>%wN</code>
+      with <a href="https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat"><code>-Wformat</code></a> for <code>%wN</code>
       and <code>%wfN</code> format length modifiers</li>
       <li><a href="https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2836.pdf">N2836</a>,
 	Identifier Syntax using Unicode Standard Annex 31</li>
@@ -180,8 +181,8 @@  a work-in-progress.</p>
   with <code>-std=c2x -Wpedantic</code>.</li>
   <li>New warnings:
     <ul>
-      <li><code>-Wenum-int-mismatch</code> warns about mismatches between an
-	  enumerated type and an integer type
+      <li><a href="https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wenum-int-mismatch"><code>-Wenum-int-mismatch</code></a>
+	 warns about mismatches between an enumerated type and an integer type
 	  (<a href="https://gcc.gnu.org/PR105131">PR105131</a>)</li>
     </ul>
   </li>
@@ -232,16 +233,18 @@  a work-in-progress.</p>
   </li>
   <li>New warnings:
     <ul>
-      <li><code>-Wself-move</code> warns when a value is moved to itself with
-	  <code>std::move</code>
-	  (<a href="https://gcc.gnu.org/PR81159">PR81159</a>)</li>
-      <li><code>-Wdangling-reference</code> warns when a reference is bound to
-	  a temporary whose lifetime has ended
+      <li><a href="https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wself-move"><code>-Wself-move</code></a>
+	warns when a value is moved to itself with <code>std::move</code>
+	(<a href="https://gcc.gnu.org/PR81159">PR81159</a>)</li>
+      <li><a href="https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Dialect-Options.html#index-Wdangling-reference"><code>-Wdangling-reference</code></a>
+	warns when a reference is bound to a temporary whose lifetime
+	has ended
 	  (<a href="https://gcc.gnu.org/PR106393">PR106393</a>)</li>
     </ul>
   </li>
-  <li>The <code>-Wpessimizing-move</code> and <code>-Wredundant-move</code>
-      warnings have been extended to warn in more contexts.</li>
+  <li>The <a href="https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Dialect-Options.html#index-Wpessimizing-move"><code>-Wpessimizing-move</code></a>
+    and <a href="https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Dialect-Options.html#index-Wredundant-move"><code>-Wredundant-move</code></a>
+    warnings have been extended to warn in more contexts.</li>
 </ul>
 
 <h4 id="libstdcxx">Runtime Library (libstdc++)</h4>
@@ -463,8 +466,8 @@  a work-in-progress.</p>
      flexible array member for the purpose of accessing the elements of such
      an array. By default, all trailing arrays in aggregates are treated as
      flexible array members. Use the new command-line option
-     <code>-fstrict-flex-arrays</code> to control which array members are
-     treated as flexible arrays.
+     <a href="https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstrict-flex-arrays"><code>-fstrict-flex-arrays</code></a>
+     to control which array members are treated as flexible arrays.
  </li>
 </ul>