summaryrefslogtreecommitdiff
path: root/gcc/cp/lambda.c
diff options
context:
space:
mode:
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>2016-10-07 08:34:49 +0000
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>2016-10-07 08:34:49 +0000
commita575a67c516bc2dfef04b63c3db9f23db30dddb5 (patch)
tree9693c61a03456772ca5fb6297fcde425f8842ec5 /gcc/cp/lambda.c
parent909bd6ed58104c8442628481967fd2963b7ceb20 (diff)
downloadgcc-a575a67c516bc2dfef04b63c3db9f23db30dddb5.tar.gz
Fix profiled bootstrap (part 2)
* lambda.c (maybe_add_lambda_conv_op): Set default value. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240856 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/lambda.c')
-rw-r--r--gcc/cp/lambda.c2
1 files changed, 1 insertions, 1 deletions
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)
{