https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118997
Xi Ruoyao <xry111 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |xry111 at gcc dot gnu.org
--- Comment #5 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
(In reply to Vincenzo Romano from comment #4)
> I think that an explicit statement in the documentation should be added,
> then.
> After all the zero-sized array field is both an extension (thus not in the
> standard manual) and a special case within the extension.
But FAM is not an extension and with FAM we get the exactly same result:
typedef struct _test {
void* one;
long double two[];
} _test;
New code should just switch to FAM instead.