https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102151
--- Comment #4 from Niibe Yutaka ---
Thank you for the explanation. I understand how (current version of) GCC
warns.
>From the viewpoint of use of structure with flexible array member, still, this
could be considered as a bug of GCC, because t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102151
Niibe Yutaka changed:
What|Removed |Added
CC||gniibe at fsij dot org
--- Comment #1 fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102151
Bug ID: 102151
Summary: Spurious warning by -Warray-bounds when allocating
with flexible array member
Product: gcc
Version: 11.2.0
Status: UNCONFIRMED
Severity