diff options
author | Qing Zhao <qing.zhao@oracle.com> | 2023-08-04 14:24:32 +0000 |
---|---|---|
committer | Qing Zhao <qing.zhao@oracle.com> | 2023-08-04 14:24:32 +0000 |
commit | 44e3f39a3d5f08ac4129c0558a90e297d2dd1e30 (patch) | |
tree | 45e33a40c8a0db363c0922e7344f438ea33cf9da /gcc/tree-vect-loop-manip.cc | |
parent | abf953042ace471720c1dc284b5f38e546fc0595 (diff) | |
download | gcc-44e3f39a3d5f08ac4129c0558a90e297d2dd1e30.zip gcc-44e3f39a3d5f08ac4129c0558a90e297d2dd1e30.tar.gz gcc-44e3f39a3d5f08ac4129c0558a90e297d2dd1e30.tar.bz2 |
Add documentation for -Wflex-array-member-not-at-end.
'-Wflex-array-member-not-at-end (C and C++ only)'
Warn when a structure containing a C99 flexible array member as the
last field is not at the end of another structure. This warning
warns e.g. about
struct flex { int length; char data[]; };
struct mid_flex { int m; struct flex flex_data; int n; };
gcc/ChangeLog:
* doc/invoke.texi (-Wflex-array-member-not-at-end): Document
new option.
Diffstat (limited to 'gcc/tree-vect-loop-manip.cc')
0 files changed, 0 insertions, 0 deletions