https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97188
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Martin Sebor <mse...@gcc.gnu.org>: https://gcc.gnu.org/g:873f8c1e6df94a9dcbfbe69f06538e3e45ba151d commit r11-3540-g873f8c1e6df94a9dcbfbe69f06538e3e45ba151d Author: Martin Sebor <mse...@redhat.com> Date: Tue Sep 29 17:10:54 2020 -0600 Correct and improve -Wnonnull for calls to functions with VLA arguments (PR middle-end/97188). Resolves: PR middle-end/97188 - ICE passing a null VLA to a function expecting at least one element gcc/ChangeLog: PR middle-end/97188 * calls.c (maybe_warn_rdwr_sizes): Simplify warning messages. Correct handling of VLA argumments. gcc/testsuite/ChangeLog: PR middle-end/97188 * gcc.dg/Wstringop-overflow-23.c: Adjust text of expected warnings. * gcc.dg/Wnonnull-4.c: New test.