------- Comment #6 from dgregor at gcc dot gnu dot org 2007-12-04 19:27 ------- Subject: Bug 33091
Author: dgregor Date: Tue Dec 4 19:27:14 2007 New Revision: 130604 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130604 Log: 2007-12-04 Douglas Gregor <[EMAIL PROTECTED]> PR c++/33091 * pt.c (unify_pack_expansion): If we didn't deduce any actual bindings for the template parameter pack, don't try to keep the empty deduced arguments. (unify): If a parameter is a template-id whose template argument list contains a pack expansion that is not at the end, then we cannot unify against that template-id. 2007-12-04 Douglas Gregor <[EMAIL PROTECTED]> PR c++/33091 * g++.dg/cpp0x/variadic-unify.C: New. Added: trunk/gcc/testsuite/g++.dg/cpp0x/variadic-unify.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33091