https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98609
--- Comment #3 from Martin Uecker <muecker at gwdg dot de> --- Fair enough. But there is also no way to selectively turn it off (or I am not aware of it). The warning for < 0 is important and useful while the warning for == 0 is pedantic and not useful by itself when we generally allow zero sized arrays elsewhere.