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

Kees Cook <kees at outflux dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |carlos at gcc dot gnu.org,
                   |                            |kees at outflux dot net,
                   |                            |ndesaulniers at google dot com,
                   |                            |qing.zhao at oracle dot com

--- Comment #6 from Kees Cook <kees at outflux dot net> ---
There is still no way to use C99 flexible arrays in unions (or alone in
structs) without syntactic obfuscation. The extension that already allows
0-sized arrays in unions should be extended to cover C99 arrays. This is
especially important for projects migrating away from the various deprecated
"fake" flexible array members to C99 flex array members, as they continue to
depend on both union membership and single-member structs (i.e. the Linux
kernel has lots of these, some even in UAPI).

Reply via email to