re PR c++/32565 (ICE with specialization of variadic template)
authorDouglas Gregor <doug.gregor@gmail.com>
Tue, 18 Dec 2007 21:19:41 +0000 (21:19 +0000)
committerDoug Gregor <dgregor@gcc.gnu.org>
Tue, 18 Dec 2007 21:19:41 +0000 (21:19 +0000)
commit4cf36211354241794588bab658e807ac550dc9de
tree23b50a2f189bbdb5981c84f3f3cf60d440a43c0a
parent3615b8c2004057ce9cc64a449d0f9a88214e8997
re PR c++/32565 (ICE with specialization of variadic template)

2007-12-18  Douglas Gregor  <doug.gregor@gmail.com>
            Jakub Jelinek  <jakub@redhat.com>

PR c++/32565
PR c++/33943
PR c++/33965
* pt.c (template_template_parm_bindings_ok_p): New; verifies
bindings of template template parameters after all template
arguments have been deduced.
(coerce_template_parms): Don't complain when COMPLAIN doesn't
include tf_error.
(fn_type_unification): Use template_template_parm_bindings_ok_p.
(unify): Deal with variadic, bound template template parameters.
(get_class_bindings): Use template_template_parm_bindings_ok_p.

2007-12-18  Douglas Gregor  <doug.gregor@gmail.com>
    Jakub Jelinek  <jakub@redhat.com>

PR c++/32565
PR c++/33943
PR c++/33965
* g++.dg/cpp0x/variadic86.C: New.
* g++.dg/cpp0x/variadic87.C: New.
* g++.dg/cpp0x/variadic84.C: New.
* g++.dg/cpp0x/variadic85.C: New.
* g++.dg/template/ttp25.C: New.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r131041
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/variadic84.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/variadic85.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/variadic86.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/variadic87.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/ttp25.C [new file with mode: 0644]