https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89592

--- Comment #10 from Martin Sebor <msebor at gcc dot gnu.org> ---
The standard is clear that flexible array members are not copied but ignored:

In most situations, the flexible array member is ignored. In particular, the
size of the structure is as if the flexible array member were omitted except
that it may have more trailing padding than the omission would imply.

The rest of the text describes when their elements can be accessed.

Reply via email to