[www] Move -fstrict-flex-arrays entry

Message ID nycvar.YFH.7.77.849.2304171139240.4466@jbgna.fhfr.qr
State Unresolved
Headers
Series [www] Move -fstrict-flex-arrays entry |

Checks

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

Commit Message

Richard Biener April 17, 2023, 11:39 a.m. UTC
  Pushed.

The following moves the -fstrict-flex-arrays option mentioning from
"Other significant improvements" to "C family" since the option only
applies there.
---
 htdocs/gcc-13/changes.html | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)
  

Patch

diff --git a/htdocs/gcc-13/changes.html b/htdocs/gcc-13/changes.html
index 84207104..f3b9afed 100644
--- a/htdocs/gcc-13/changes.html
+++ b/htdocs/gcc-13/changes.html
@@ -195,6 +195,13 @@  a work-in-progress.</p>
       assumptions support also in C or older C++:
       <a href="https://gcc.gnu.org/onlinedocs/gcc/Statement-Attributes.html#index-assume-statement-attribute"><code>__attribute__((assume(EXPR)));</code></a>
   </li>
+ <li>GCC can now control when to treat the trailing array of a structure as a
+     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
+     <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>
 
 <h3 id="c">C</h3>
@@ -708,17 +715,6 @@  a work-in-progress.</p>
 <h2>Other significant improvements</h2>
 
 <!-- <h3 id="uninitialized">Eliminating uninitialized variables</h3> -->
-<h3 id="flexible-arrays">Treating trailing arrays as flexible array members</h3>
-
-<ul>
- <li>GCC can now control when to treat the trailing array of a structure as a
-     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
-     <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>
 
 <!-- .................................................................. -->
 <!-- <h2 id="13.1">GCC 13.1</h2> -->