[Bug tree-optimization/97188] [11 Regression] ICE in c_tree_printer at c/c-objc-common.c:314 since r11-3303-g6450f07388f9fe57
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 29 23:14:20 GMT 2020
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 <msebor@gcc.gnu.org>:
https://gcc.gnu.org/g:873f8c1e6df94a9dcbfbe69f06538e3e45ba151d
commit r11-3540-g873f8c1e6df94a9dcbfbe69f06538e3e45ba151d
Author: Martin Sebor <msebor@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.
More information about the Gcc-bugs
mailing list