Re: [C++ PATCH] Fix GC lambda ICE (PR c++/84455)

2018-02-19 Thread Jason Merrill
OK. On Mon, Feb 19, 2018 at 1:56 PM, Jakub Jelinek wrote: > Hi! > > While cp_parser_lambda_body which is the other finish_lambda_function > caller next to tsubst_lambda_expr temporarily increments function_depth > around that call (if not nested) to avoid GC during expand_or_defer_fn from > finis

[C++ PATCH] Fix GC lambda ICE (PR c++/84455)

2018-02-19 Thread Jakub Jelinek
Hi! While cp_parser_lambda_body which is the other finish_lambda_function caller next to tsubst_lambda_expr temporarily increments function_depth around that call (if not nested) to avoid GC during expand_or_defer_fn from finish_lambda_function, tsubst_lambda_expr doesn't, and on the lambda-ice14.