From: Martin Liska Date: Fri, 7 Oct 2016 08:34:49 +0000 (+0200) Subject: Fix profiled bootstrap (part 2) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5d341f08955afea580e778474045a739de60981a;p=gcc.git Fix profiled bootstrap (part 2) * lambda.c (maybe_add_lambda_conv_op): Set default value. From-SVN: r240856 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 553658f42d1..a719f5b6471 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2016-10-07 Martin Liska + + * lambda.c (maybe_add_lambda_conv_op): Set default value. + 2016-10-06 Jason Merrill * call.c (build_temp, convert_like_real): Don't re-copy diff --git a/gcc/cp/lambda.c b/gcc/cp/lambda.c index cd322260c34..d4284bfa48b 100644 --- a/gcc/cp/lambda.c +++ b/gcc/cp/lambda.c @@ -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) {