https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99990
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:91e076f3a66c1c9f6aa51e9d53d07803606e3bf1 commit r10-9725-g91e076f3a66c1c9f6aa51e9d53d07803606e3bf1 Author: Jakub Jelinek <ja...@redhat.com> Date: Sat Apr 10 17:01:54 2021 +0200 c: Avoid clobbering TREE_TYPE (error_mark_node) [PR99990] The following testcase ICEs during error recovery, because finish_decl overwrites TREE_TYPE (error_mark_node), which better should stay always to be error_mark_node. 2021-04-10 Jakub Jelinek <ja...@redhat.com> PR c/99990 * c-decl.c (finish_decl): Don't overwrite TREE_TYPE of error_mark_node. * gcc.dg/pr99990.c: New test. (cherry picked from commit 9f7d77bd6d65aa1cf2e195d3776052705c6e636b)