[Bug c/65228] ICE: expected tree that contains ‘decl minimal’ structure?=,=?UTF-8?Q? have ‘error_mark’ in start_decl

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 27 13:08:00 GMT 2015


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

--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Fri Feb 27 12:24:02 2015
New Revision: 221057

URL: https://gcc.gnu.org/viewcvs?rev=221057&root=gcc&view=rev
Log:
    PR c/65228
    * c-decl.c (start_decl): Return NULL_TREE if decl is an error node.

    * gcc.dg/pr65228.c: New test.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/pr65228.c
Modified:
    branches/gcc-4_9-branch/gcc/c/ChangeLog
    branches/gcc-4_9-branch/gcc/c/c-decl.c
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list