[C++ PATCH] Fix PR9602, a regression

Mark Mitchell mark@codesourcery.com
Fri Feb 21 17:56:00 GMT 2003



--On Friday, February 21, 2003 09:39:57 PM +0700 Kriang Lerdsuwanakij 
<lerdsuwa@users.sourceforge.net> wrote:

>
> Bootstrapped and tested on i686-pc-linux-gnu.  OK to commit to
> the main trunk, 3.3, and maybe 3.2?

It would be better just to avoid calling abstract_virtuals_error for 
templates.  I suggest adding !dependent_type_p (type) to this function on 
the mainline, and !processing_template_decl on the 3.3 branch.  Does that 
work?

-- 
Mark Mitchell                mark@codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com



More information about the Gcc-patches mailing list