Hello!

2011-05-17  Uros Bizjak  <ubiz...@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.

Tested on x86_64-pc-linux-gnu {, m32} with --enable-build-with-cxx.
Committed to mainline SVN as obvious.

Uros.
Index: ipa-inline-analysis.c
===================================================================
--- ipa-inline-analysis.c       (revision 173832)
+++ ipa-inline-analysis.c       (working copy)
@@ -702,7 +702,7 @@ inline_node_duplication_hook (struct cgr
       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: tree-inline.c
===================================================================
--- tree-inline.c       (revision 173832)
+++ tree-inline.c       (working copy)
@@ -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.  */

Reply via email to