OSDN Git Service

PR c++/48322
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Nov 2011 02:04:54 +0000 (02:04 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Nov 2011 02:04:54 +0000 (02:04 +0000)
commit2b6ed700ac98f9851deaa6abac003d469920a334
treecf2fb512923a06d1bef12f85419ce6c26fb8f50e
parent4efa73458103c7db5d4187a707cd7134e3a2972c
PR c++/48322
gcc/cp/
* cp-tree.h (PACK_EXPANSION_EXTRA_ARGS): New.
* cp-tree.def (EXPR_PACK_EXPANSION): Add an operand for it.
* pt.c (tsubst_pack_expansion): Set and use it.
(iterative_hash_template_arg): Hash it.
(template_args_equal): Compare it.
(comp_template_args_with_info): Handle nulls.
* tree.c (cp_walk_subtrees): Walk it.
* typeck.c (structural_comptypes): Compare it.
* ptree.c (cxx_print_type): Print it.
libstdc++-v3/
* include/std/tuple (tuple(_UElements&&...)): Fix SFINAE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181547 138bc75d-0d04-0410-961f-82ee72b054a4
12 files changed:
gcc/cp/ChangeLog
gcc/cp/cp-tree.def
gcc/cp/cp-tree.h
gcc/cp/pt.c
gcc/cp/ptree.c
gcc/cp/tree.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/sfinae26.C
gcc/testsuite/g++.dg/cpp0x/variadic120.C [new file with mode: 0644]
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/tuple