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] Fix PR c++/26938


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


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