From 267ffce3cb621997f91b1985469a8d1adb19a1be Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Tue, 17 May 2011 20:31:08 +0200 Subject: [PATCH] ipa-inline-analysis.c (inline_node_duplication_hook): Initialize info->entry with 0 * ipa-inline-analysis.c (inline_node_duplication_hook): Initialize info->entry with 0 * tree-inline.c (maybe_inline_call_in_expr): Initialize id.transform_lang_insert_block with NULL. From-SVN: r173834 --- gcc/ChangeLog | 9 ++++++++- gcc/ipa-inline-analysis.c | 2 +- gcc/tree-inline.c | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3daa4166703..829f69fc081 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,4 +1,11 @@ -2011-05-16 Uros Bizjak +2011-05-17 Uros Bizjak + + * ipa-inline-analysis.c (inline_node_duplication_hook): Initialize + info->entry with 0 + * tree-inline.c (maybe_inline_call_in_expr): Initialize + id.transform_lang_insert_block with NULL. + +2011-05-17 Uros Bizjak * config/i386/i386-protos.h (output_fix_trunc): Change arg 3 to bool. (output_fp_compare): Change args 3 and 4 to bool. diff --git a/gcc/ipa-inline-analysis.c b/gcc/ipa-inline-analysis.c index 99d691131dc..4a65dd5be0f 100644 --- a/gcc/ipa-inline-analysis.c +++ b/gcc/ipa-inline-analysis.c @@ -702,7 +702,7 @@ inline_node_duplication_hook (struct cgraph_node *src, struct cgraph_node *dst, bool inlined_to_p = false; struct cgraph_edge *edge; - info->entry = false; + info->entry = 0; VEC_safe_grow_cleared (tree, heap, known_vals, count); for (i = 0; i < count; i++) { diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index 8ac3fed20dd..0e553c8033f 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -5232,7 +5232,7 @@ maybe_inline_call_in_expr (tree exp) id.transform_call_graph_edges = CB_CGE_DUPLICATE; id.transform_new_cfg = false; id.transform_return_to_modify = true; - id.transform_lang_insert_block = false; + id.transform_lang_insert_block = NULL; /* Make sure not to unshare trees behind the front-end's back since front-end specific mechanisms may rely on sharing. */ -- 2.30.2