re PR c++/53498 (Compiler crashes during C++11 template magic compilation)
authorJason Merrill <jason@redhat.com>
Tue, 26 Jun 2012 03:42:34 +0000 (23:42 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 26 Jun 2012 03:42:34 +0000 (23:42 -0400)
commiteaccea2afa9be40d1d976292da8450cb36439d5f
tree03502474e28bb6b741afb1fb232702d106dc3b42
parente3b205be21d6d891e9c1e7942d57af1c510d49fd
re PR c++/53498 (Compiler crashes during C++11 template magic compilation)

PR c++/53498
PR c++/53305
* pt.c (tsubst_decl) [PARM_DECL]: Don't recurse into DECL_CHAIN
if cp_unevaluated_operand is set.
(tsubst_copy) [PARM_DECL]: Don't copy before tsubsting.

From-SVN: r188973
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/decltype38.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/variadic132.C