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

--- Comment #10 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
...hmmm https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html reads: <quote>

6.18 Arrays of Length Zero

Declaring zero-length arrays is allowed in GNU C as an extension. A zero-length
array can be useful as the last element of a structure that is really a header
for a variable-length object:

[...]

Declaring zero-length arrays in other contexts, including [...] as non-member
objects, is discouraged. Accessing elements of zero-length arrays declared in
such contexts is undefined and may be diagnosed. 

</quote>

So the test case for PR64088 is already invalid?

Reply via email to