This is the mail archive of the gcc-patches@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]

Re: [patch] Fix PR c++/28250: ICE with invalid catch


Volker Reichelt wrote:

> 2006-07-14  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
> 
> 	PR c++/28250
> 	* name-lookup.c (pushdecl_maybe_friend): Return early on
> 	error_mark_node.
> 	* except.c (expand_start_catch_block): Use error_mark_node instead
> 	of NULL_TREE for invalid decls.
> 	* parser.c (cp_parser_exception_declaration): Return error_mark_node
> 	on invalid catch parameter. Simplify.

OK, thanks.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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