[PATCH] [C++] Fix PR 13268 and 13339 (error-recovery problems)

Mark Mitchell mark@codesourcery.com
Sun Dec 28 18:51:00 GMT 2003


On Thu, 2003-12-25 at 08:27, Andrew Pinski wrote:
> On Dec 25, 2003, at 00:04, Jason Merrill wrote:
> >> 	* decl.c (grokparms): Continue also if the type of decl is null.
> >
> > How does this happen?
> 
> This happens only without checking turned on and the fix for one of the 
> above, causes
> this to happen, I was trying to be on the safer side here.

I'll let you continue to neogtiate this with Jason, but note that the
patch should use "error_operand_p (decl)" rather than spelling that out
by hand.

-- 
Mark Mitchell <mark@codesourcery.com>
CodeSourcery, LLC



More information about the Gcc-patches mailing list