This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix C ICE on invalid (PR c/18946)
- From: Richard Henderson <rth at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: joseph at codesourcery dot com, gcc-patches at gcc dot gnu dot org
- Date: Wed, 26 Jan 2005 14:26:08 -0800
- Subject: Re: [PATCH] Fix C ICE on invalid (PR c/18946)
- References: <20050120142000.GA10340@devserv.devel.redhat.com>
On Thu, Jan 20, 2005 at 09:20:00AM -0500, Jakub Jelinek wrote:
> * c-decl.c (warn_if_shadowing): Handle old_decl error_mark_node.
> (pushdecl): Only use DECL_FILE_SCOPE_P if DECL_P.
> (implicitly_declare): Handle error_mark_node.
> * gcc.dg/noncompile/20050120-1.c: New test.
Ok.
r~