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: Much fallout from PR 27668


Hi Volker,

When Mark approved the patch he predicted there would be some fallout,
I've been keeping a lookout for any new regressions which have
resulted from my patch and trying to fix them as I come across them.

I've attached a patch which I'm currently running through a
bootstrap/regression test. It fixes 28637, 28638 and 28640 and
partially fixes the remaining two by adding in checks for
error_mark_node highlighted by the test cases. With this patch the two
remaining PRs (28639 and 28641) now both ICE in instantiate_decl, in
exactly the same place where the ICE for PR c++/24791 occurs.

Cheers,
Lee.

:ADDPATCH c++

cp/

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

       PR c++/28637
       * pt.c (coerce_template_parms): Copy across the
       invalid template arguments to the new template inner arguments.
       (retrieve_specialization): Robustify.

       PR c++/28638
       * pt.c (coerce_template_template_parms): Robustify.

       PR c++/28639
       * error.c (dump_template_parms): Robustify.

       PR c++/28640
       * pt.c (redeclare_class_template): Robustify.

       PR c++/28641
       * pt.c (type_unification_real): Robustify.

testsuite/

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

       PR c++/28637
       * g++.dg/template/void3.C: New test.

       PR c++/28638
       * g++.dg/template/void4.C: New test.

`       PR c++/28640
       * g++.dg/template/void5.C: New test.

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]