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 <mse...@gcc.gnu.org>: https://gcc.gnu.org/g:27c5416fc8a4c2b33a0d6b6a26da2518791e0464 commit r11-5213-g27c5416fc8a4c2b33a0d6b6a26da2518791e0464 Author: Martin Sebor <mse...@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.