https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108896
Martin Uecker <muecker at gwdg dot de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |muecker at gwdg dot de --- Comment #4 from Martin Uecker <muecker at gwdg dot de> --- What could work is using a subset of designator syntax. struct { int count; char data[.count]; }; But I do not think this should be a flexible array member that is simply ignored except for sizeof but a complete type (maybe with some restrictions). Then we could also have struct { int count; char (*buf)[.count]; }; which would be incredible useful.