https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94132
Martin Sebor changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Blocks|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94132
--- Comment #4 from Jonathan Wakely ---
https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html
"A structure containing a flexible array member, or a union containing such a
structure (possibly recursively), may not be a member of a structure or an
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94132
Richard Biener changed:
What|Removed |Added
CC||msebor at gcc dot gnu.org
--- Comment #
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94132
--- Comment #2 from Amir Ansari ---
(In reply to Andrew Pinski from comment #1)
> >Can we make this check more robust so valid usage isn't rejected?
>
> Why do you think it is valid?
Because I know the flexible array member data isn't dangling
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94132
--- Comment #1 from Andrew Pinski ---
>Can we make this check more robust so valid usage isn't rejected?
Why do you think it is valid?