[patch] Fix PR c++/26938
Mark Mitchell
mark@codesourcery.com
Sun Sep 24 18:02:00 GMT 2006
Lee Millward wrote:
> 2006-09-24 Lee Millward <lee.millward@codesourcery.com>
>
> PR c++/27329
> PR c++/26938
> * cp-tree.h (redeclare_class_template): Adjust declaration
> to return bool instead of void.
> * pt.c (redeclare_class_template): Update definition. Return
> false on error.
> * decl.c (xref_tag): Return error_mark_node if
> redeclare_class_template
> returned false.
>
> 2006-09-24 Lee Millward <lee.millward@codesourcery.com>
>
> PR c++/26938
> * g++.dg/template/crash58.C: New test.
> * g++.dg/parse/crash28.C: Adjust error markers.
> * g++.dg/template/crash34.C: Likewise.
> * g++.dg/template/friend31.C: Likewise.
> * g++.dg/template/crash32.C: Likewise.
>
> PR c++/27329
> * g++.dg/template/crash59.C: New test.
:REVIEWMAIL: OK
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713
More information about the Gcc-patches
mailing list