Fix profiled bootstrap (part 2)

* lambda.c (maybe_add_lambda_conv_op): Set default value.

From-SVN: r240856
This commit is contained in:
Martin Liska 2016-10-07 10:34:49 +02:00 committed by Martin Liska
parent 014b59e688
commit 5d341f0895
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2016-10-07 Martin Liska <mliska@suse.cz>
* lambda.c (maybe_add_lambda_conv_op): Set default value.
2016-10-06 Jason Merrill <jason@redhat.com>
* call.c (build_temp, convert_like_real): Don't re-copy

View File

@ -967,7 +967,7 @@ maybe_add_lambda_conv_op (tree type)
{
int ix = 0;
tree src = DECL_CHAIN (DECL_ARGUMENTS (callop));
tree tgt;
tree tgt = NULL;
while (src)
{