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

--- Comment #11 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-8 branch has been updated by Jakub Jelinek
<ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:d3a2bb8009f50acd90637f9407f5c704b318f8f4

commit r8-10907-gd3a2bb8009f50acd90637f9407f5c704b318f8f4
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 91e076f3a66c1c9f6aa51e9d53d07803606e3bf1)

Reply via email to