[patch] Fix PR c++/29022

Mark Mitchell mark@codesourcery.com
Mon Nov 20 00:24:00 GMT 2006


Lee Millward wrote:

> 2006-11-18  Lee Millward  <lee.millward@codesourcery.com>
> 
>     PR c++/29022
>     * parser.c (cp_parser_class_head): Move processing
>     of any base classes to...
>     (cp_parser_class_specifier) ...here. Take an extra
>     tree* parameter for the base classes. Only process
>     them if the opening brace was found.
> 
> testsuite/
> 
> 2006-11-18  Lee Millward  <lee.millward@codesourcery.com>
> 
>     PR c++/29022
>     * g++.dg/inherit/virtual2.C: New test.
>     * g++.dg/inherit/virtual3.C: Likewise.
>     * g++.old-deja/g++.bugs/900121_05.C: Adjust error markers.
>     * g++.dg/inherit/error2.C: Likewise.
>     * g++.dg/template/instantiate1.C: Likewise.

:REVIEWMAIL: OK

Thanks!

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



More information about the Gcc-patches mailing list