re PR c++/46394 ([C++0X] [4.6 Regression] no matching function with default template...
authorDodji Seketeli <dodji@redhat.com>
Sun, 20 Feb 2011 17:37:03 +0000 (17:37 +0000)
committerDodji Seketeli <dodji@gcc.gnu.org>
Sun, 20 Feb 2011 17:37:03 +0000 (18:37 +0100)
commit869b0af5c5c3790ef77ffcc0cddf351a99b6c762
tree57dd167d0699fc05779ecc1add424c426cb2f953
parent67ad6c8252dad5b26708db00ec1fda7c573af397
re PR c++/46394 ([C++0X] [4.6 Regression] no matching function with default template parameter)

PR c++/46394

gcc/cp/

PR c++/46394
* pt.c (tsubst_pack_expansion): do not use
cp_tree_equal/same_type_p to detect an expansion of a parameter
pack.

gcc/testsuite/

PR c++/46394
* g++.dg/template/typedef38.C: New test.

From-SVN: r170341
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/typedef38.C [new file with mode: 0644]