OSDN Git Service

Fix PR c++/41785
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Oct 2009 18:31:22 +0000 (18:31 +0000)
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Oct 2009 18:31:22 +0000 (18:31 +0000)
commit7a7cd28e1bfb950ed3d49723f8e5c98ccfe47bcf
treeafc7e486341b3f574b937b99d93a2e7ccc1a97c8
parent24833e1adf2222593ff082539e9632908f6f63af
Fix PR c++/41785

gcc/cp/ChangeLog:

PR c++/41785
* pt.c (template_args_equal): Handle comparison of
an ARGUMENT_PACK_SELECT node with the arguments node it selects into.
* cp-tree.def: Fix a typo in the description of TYPE_PACK_EXPANSION.

gcc/testsuite/ChangeLog:
PR c++/41785
* gcc/testsuite/g++.dg/cpp0x/variadic96.C: New test.

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