https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98541
--- Comment #3 from Martin Uecker <muecker at gwdg dot de> --- Having to set the length to 0 for NULL pointers is problematic also because zero-sized array types are now allowed in ISO C. On the other hand, an optional warning that warns for all parameters declared as array which are NULL (fixed length and VLA) might be useful.