OSDN Git Service

2006-08-09 Lee Millward <lee.millward@codesourcery.com>
authorlmillward <lmillward@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 Aug 2006 18:43:06 +0000 (18:43 +0000)
committerlmillward <lmillward@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 Aug 2006 18:43:06 +0000 (18:43 +0000)
commit6f32df61628a88355a00959ad22e60c0ccccd9ce
treeba6a351afa64d05f3f2c625dcbef7f1651b2475e
parent3a1af93034f967f91b4f9a56987603cf6b4f360f
2006-08-09  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.

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

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

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

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

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

       * g++.dg/template/void5.C: New test.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116043 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/error.c
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/void3.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/void4.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/void5.C [new file with mode: 0644]