[Bug c/100783] [10/11 Regression] ICE on attribute nonnull and erroneous type
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jun 17 20:08:15 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100783
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Martin Sebor
<msebor@gcc.gnu.org>:
https://gcc.gnu.org/g:3863203bf306a730482861e974ff779e0d1db02f
commit r11-8605-g3863203bf306a730482861e974ff779e0d1db02f
Author: Martin Sebor <msebor@redhat.com>
Date: Thu Jun 17 12:17:02 2021 -0600
PR c/100783 - ICE on -Wnonnull and erroneous type
gcc/c-family/ChangeLog:
PR c/100783
* c-attribs.c (positional_argument): Bail on erroneous types.
gcc/c/ChangeLog:
PR c/100783
* c-objc-common.c (print_type): Handle erroneous types.
gcc/testsuite/ChangeLog:
PR c/100783
* gcc.dg/nonnull-6.c: New test.
More information about the Gcc-bugs
mailing list