OSDN Git Service

Fix PR c++/40155
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Jan 2010 19:21:46 +0000 (19:21 +0000)
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Jan 2010 19:21:46 +0000 (19:21 +0000)
commitbeb8be281281825b184e0e987dd239d1708fbb50
treec6ba028fdb64ff90cbb07c7f3741fe2f070b3bfb
parent9beea099e8ed1da4237330e6061e575f5295b09b
Fix PR c++/40155

gcc/cp/ChangeLog:
c++/40155
* pt.c (unify_pack_expansion): In non-deduced contexts, re-use template
arguments that were previously deduced.

gcc/testsuite/ChangeLog:
c++/40155
* g++.dg/cpp0x/variadic-unify-2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155705 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/variadic-unify-2.C [new file with mode: 0644]