OSDN Git Service

PR c++/46394
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 20 Feb 2011 17:37:03 +0000 (17:37 +0000)
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 20 Feb 2011 17:37:03 +0000 (17:37 +0000)
commit02026a8e1973ccdf13cce3963427976142ebb8d9
tree57dd167d0699fc05779ecc1add424c426cb2f953
parentde2f25ea6cefc2d4dc04bcadd921ce296f737bbe
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.

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