https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94428
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |msebor at gcc dot gnu.org
Keywords| |diagnostic
--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
With the introduction of -Wzero-length-bounds in GCC 10 (which, incidentally,
was added specifically to ease the adoption of the stricter array bounds
checking in GCC 10 by the kernel), adding a knob to diagnose declarations of
zero-length arrays sounds like a good idea to me.