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] [C++] Fix PR 13268 and 13339 (error-recovery problems)


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


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