OSDN Git Service

* ipa-inline-analysis.c (inline_node_duplication_hook): Initialize
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 May 2011 18:31:08 +0000 (18:31 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 May 2011 18:31:08 +0000 (18:31 +0000)
info->entry with 0
* tree-inline.c (maybe_inline_call_in_expr):  Initialize
id.transform_lang_insert_block with NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173834 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/ipa-inline-analysis.c
gcc/tree-inline.c

index 3daa416..829f69f 100644 (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.
index 99d6911..4a65dd5 100644 (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++)
         {
index 8ac3fed..0e553c8 100644 (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.  */