warning fixes
authorMatthias Braun <matze@braunis.de>
Fri, 8 Sep 2006 09:10:16 +0000 (09:10 +0000)
committerMatthias Braun <matze@braunis.de>
Fri, 8 Sep 2006 09:10:16 +0000 (09:10 +0000)
[r8196]

ir/ana/irextbb.c
ir/debug/debugger.c
ir/opt/data_flow_scalar_replace.c
ir/stat/const_stat.c

index 70727d0..eb61ed7 100644 (file)
@@ -53,20 +53,6 @@ static void allocate_extblk(ir_node *block, env_t *env)
   set_irn_link(block, NULL);
 }
 
   set_irn_link(block, NULL);
 }
 
-/**
- * add a block to an extended block
- */
-static void addto_extblk(ir_extblk *extblk, ir_node *block)
-{
-  /* link all blocks belonging to this extended block */
-  set_irn_link(block, extblk->link);
-
-  extblk->link = block;
-  extblk->visited++;
-
-  set_Block_extbb(block, extblk);
-}
-
 /**
  * Returns the number of block successors.
  * we are interested only in 1, 2 and >2.
 /**
  * Returns the number of block successors.
  * we are interested only in 1, 2 and >2.
index ddef8fa..d74f2bb 100644 (file)
@@ -802,7 +802,7 @@ static void show_by_name(type_or_ent *tore, void *env) {
           printf("%s", get_id_str(id));
         }
         if (irg)
           printf("%s", get_id_str(id));
         }
         if (irg)
-          printf("[%d] (%p)\n", get_irg_graph_nr(irg), irg);
+          printf("[%ld] (%p)\n", get_irg_graph_nr(irg), irg);
         else
           printf(" NULL\n");
       }
         else
           printf(" NULL\n");
       }
@@ -830,7 +830,7 @@ static void show_by_ldname(type_or_ent *tore, void *env) {
           printf("%s", get_id_str(id));
         }
         if (irg)
           printf("%s", get_id_str(id));
         }
         if (irg)
-          printf("[%d] (%p)\n", get_irg_graph_nr(irg), irg);
+          printf("[%ld] (%p)\n", get_irg_graph_nr(irg), irg);
         else
           printf(" NULL\n");
       }
         else
           printf(" NULL\n");
       }
index cd1c92e..91011b3 100644 (file)
@@ -1284,21 +1284,6 @@ static void analyse_calls(ir_node *irn, void *ctx) {
   }
 }
 
   }
 }
 
-static int have_blk_phi_mem(ir_node *blk) {
-
-  int     i;
-  ir_node *out;
-
-  for(i = get_irn_n_outs(blk) - 1; i >= 0; i--) {
-
-    out = get_irn_out(blk, i);
-    if(get_irn_op(out) == op_Phi)
-      return 1;
-  }
-
-  return 0;
-}
-
 static int set_block_dominated_first_access(ir_node *blk, int vnum, unsigned int access) {
 
   ir_node *idom, *succ;
 static int set_block_dominated_first_access(ir_node *blk, int vnum, unsigned int access) {
 
   ir_node *idom, *succ;
index 9409e42..67e7658 100644 (file)
@@ -11,8 +11,6 @@
 #include "firmstat_t.h"
 #include "tv_t.h"
 
 #include "firmstat_t.h"
 #include "tv_t.h"
 
-static stat_info_t *status;
-
 /**
  * calculated the dual logarithmus of |value|
  */
 /**
  * calculated the dual logarithmus of |value|
  */