diff mbox

Fix profiled bootstrap (part 2)

Message ID 00e6e1c0-03e0-6d65-5be7-950db8bea6c2@suse.cz
State New
Headers show

Commit Message

Martin Liška Oct. 7, 2016, 8:24 a.m. UTC
There's one more hunk needed to build profiledbootstrap.
Hope it's obvious, I'm going to install the patch.

Thanks,
Martin
diff mbox

Patch

From eab203805280062a2733ffcc758f5282a8163905 Mon Sep 17 00:00:00 2001
From: marxin <mliska@suse.cz>
Date: Thu, 6 Oct 2016 19:33:39 +0200
Subject: [PATCH] Fix profiled bootstrap (part 2)

gcc/cp/ChangeLog:

2016-10-06  Martin Liska  <mliska@suse.cz>

	* lambda.c (maybe_add_lambda_conv_op): Set default value.
---
 gcc/cp/lambda.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/cp/lambda.c b/gcc/cp/lambda.c
index cd32226..d4284bf 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)
       {
-- 
2.9.2