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
This commit is contained in:
Uros Bizjak 2011-05-17 20:31:08 +02:00 committed by Uros Bizjak
parent d9403b0dda
commit 267ffce3cb
3 changed files with 10 additions and 3 deletions

View File

@ -1,4 +1,11 @@
2011-05-16 Uros Bizjak <ubizjak@gmail.com>
2011-05-17 Uros Bizjak <ubizjak@gmail.com>
* 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 <ubizjak@gmail.com>
* config/i386/i386-protos.h (output_fix_trunc): Change arg 3 to bool.
(output_fp_compare): Change args 3 and 4 to bool.

View File

@ -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++)
{

View File

@ -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. */