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

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Martin Sebor from comment #3)
> In C, mode GCC accepts the test case from comment #0 but with -Wpedantic
> issues a warning:
> 
> t.c:8:14: warning: invalid use of structure with flexible array member
> [-Wpedantic]

Ah, I missed that when checking with the C front end, thanks.

Reply via email to