[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:03:00 GMT 2015


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

--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Fri Feb 27 12:18:57 2015
New Revision: 221056

URL: https://gcc.gnu.org/viewcvs?rev=221056&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:
    trunk/gcc/testsuite/gcc.dg/pr65228.c
Modified:
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-decl.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list