[Bug c/97861] [11 Regression] ICE in warn_parm_array_mismatch, at c-family/c-warn.c:3378

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 20 21:36:13 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97861

--- 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:27c5416fc8a4c2b33a0d6b6a26da2518791e0464

commit r11-5213-g27c5416fc8a4c2b33a0d6b6a26da2518791e0464
Author: Martin Sebor <msebor@redhat.com>
Date:   Fri Nov 20 14:35:25 2020 -0700

    PR middle-end/97861 - ICE on an invalid redeclaration of a function with
attribute access

    gcc/c-family/ChangeLog:
            * c-warn.c (warn_parm_array_mismatch): Bail on invalid
redeclarations
            with fewer arguments.

    gcc/testsuite/ChangeLog:
            * gcc.dg/attr-access-4.c: New test.


More information about the Gcc-bugs mailing list