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++/27668


I've attached an updated patch which incorporates the suggestion from
Volker with a slight addition which fixes PR c++/27962 as well. The
original patch was approved for mainline and 4.1, is this patch also
acceptable to apply there?

Bootstrapped and regresstion tested with no new failures on i686-pc-linux-gnu.

Cheers,
Lee.

:ADDPATCH C++:

2006-07-26 Lee Millward <lee.millward@codesourcery.com>

       PR c++/27668
       PR c++/27962
       * pt.c (process_template_parm) Store invalid template
       parameters as error_mark_node in the paramater list.
       (push_inline_template_parms_recursive): Handle invalid
       template parameters.
       (comp_template_parms): Likewise.
       (check_default_tmpl_arg): Likewise.
       (coerce_template_template_parms): Likewise.
       (mangle_class_name_for_template): Likewise.
       (tsubst_template_parms): Likewise.:ADDPATCH C++:
       * error.c (dump_template_argument_list): Likewise.

2006-07-26 Lee Millward <lee.millward@codesourcery.com>

       PR c++/27668
       * g++.dg/template/crash55.C: New test.

       PR c++/27962
       * g++.dg/template/nontype16.C: New test.

       * g++.dg/template/void2.C: Adjust error markers.
       * g++.dg/template/nontype5.C: Adjust error markers.

Attachment: patch.txt
Description: Text document


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