]> git.ipfire.org Git - thirdparty/gcc.git/commit
Clean up documentation for -Wstrict-flex-arrays [PR111659]
authorSandra Loosemore <sandra@codesourcery.com>
Wed, 17 Jan 2024 21:37:19 +0000 (21:37 +0000)
committerSandra Loosemore <sandra@codesourcery.com>
Wed, 17 Jan 2024 22:12:17 +0000 (22:12 +0000)
commiteb71695f76378151cb38372051bf50aed792f36d
tree92b7906f5828e40ed399b4eca04f53c7a71e9f9b
parent7a8124e341aebcc544b4720e920b625f4ffe4e8a
Clean up documentation for -Wstrict-flex-arrays [PR111659]

gcc/ChangeLog
PR middle-end/111659
* doc/extend.texi (Common Variable Attributes): Fix long lines
in documentation of strict_flex_array + other minor copy-editing.
Add a cross-reference to -Wstrict-flex-arrays.
* doc/invoke.texi (Option Summary): Fix whitespace in tables
before -fstrict-flex-arrays and -Wstrict-flex-arrays.
(C Dialect Options): Combine the docs for the two
-fstrict-flex-arrays forms into a single entry.  Note this option
is for C/C++ only.  Add a cross-reference to -Wstrict-flex-arrays.
(Warning Options): Note -Wstrict-flex-arrays is for C/C++ only.
Minor copy-editing.  Add cross references to the strict_flex_array
attribute and -fstrict-flex-arrays option.  Add note that this
option depends on -ftree-vrp.
gcc/doc/extend.texi
gcc/doc/invoke.texi