C++17 class deduction issues
authorJason Merrill <jason@redhat.com>
Mon, 10 Oct 2016 20:48:51 +0000 (16:48 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 10 Oct 2016 20:48:51 +0000 (16:48 -0400)
commitb7beb16ac139b766a3b6adcae15ae5a358c0b83c
tree28cccc06bed0e8109e1f1c55143e26b1b8a89c43
parentd30078b8e7dc6f94dbd8aa1b56f59bdf479303a8
C++17 class deduction issues

PR c++/77890
PR c++/77912
* pt.c (do_class_deduction): Set cp_unevaluated_operand.
(tsubst) [TEMPLATE_TYPE_PARM]: Copy CLASS_PLACEHOLDER_TEMPLATE.

From-SVN: r240948
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp1z/class-deduction19.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp1z/class-deduction20.C [new file with mode: 0644]