This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/65228] ICE: expected tree that contains âdecl minimalâ structure, have âerror_markâ in start_decl


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]