This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fix profiled bootstrap (part 2)
- From: Martin Liška <mliska at suse dot cz>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Martin Sebor <msebor at gmail dot com>, Jakub Jelinek <jakub at redhat dot com>
- Date: Fri, 7 Oct 2016 10:24:52 +0200
- Subject: [PATCH] Fix profiled bootstrap (part 2)
- Authentication-results: sourceware.org; auth=none
- References: <a42502f2-1f69-8fcf-5c5b-57d84b747cde@suse.cz>
There's one more hunk needed to build profiledbootstrap.
Hope it's obvious, I'm going to install the patch.
Thanks,
Martin
>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