Various small fixes.
authorJason Merrill <jason@redhat.com>
Tue, 29 Aug 2017 19:51:23 +0000 (15:51 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 29 Aug 2017 19:51:23 +0000 (15:51 -0400)
commit11399477539ec605bd904543163c9e9137395943
treec85f3a633a40b0563809d56852c3087090ec1bf6
parent1a9de5b6b56a726313069f4447fbbbee469e99dc
Various small fixes.

* lambda.c (build_lambda_object): Check for error_mark_node.
* pt.c (make_pack_expansion): Set PACK_EXPANSION_LOCAL_P on the type
pack as well.
(tsubst_decl) [FUNCTION_DECL]: Set DECL_CONTEXT on the parameters.
(tsubst) [TEMPLATE_PARM_INDEX]: Check for error_mark_node.

From-SVN: r251428
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/cp/lambda.c
gcc/cp/pt.c