ipa-inline-analysis.c (inline_node_duplication_hook): Initialize info->entry with 0
authorUros Bizjak <ubizjak@gmail.com>
Tue, 17 May 2011 18:31:08 +0000 (20:31 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 17 May 2011 18:31:08 +0000 (20:31 +0200)
* 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
gcc/ipa-inline-analysis.c
gcc/tree-inline.c

index 3daa4166703e4fcdb514948e7ada5df0c6e604cf..829f69fc081332f0d7c405bb39c86e3c4ea34b80 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 99d691131dc276318dd2abaaae057b5642cdd617..4a65dd5be0f575d9048574da0c79eee72b2f2b26 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 8ac3fed20dd87fb48919a86417975a29bdf1862d..0e553c8033f97f9f39e87d7b5ab75c2c9a408b30 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.  */