diff options
author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-04 08:41:16 +0000 |
---|---|---|
committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-04 08:41:16 +0000 |
commit | 4f917ffebf5b8c1f4f277254c8965ac98d53478d (patch) | |
tree | 1abce55874e65e7a9055d728035fdf072a46f0b3 /gcc/tree-ssa-live.c | |
parent | 1a9b4618c41c5d47b5fbf9d47afe37d167a5130a (diff) | |
download | gcc-4f917ffebf5b8c1f4f277254c8965ac98d53478d.tar.gz |
* bitmap.c (bitmap_print): Make bitno unsigned.
* bt-load.c (clear_btr_from_live_range,
btr_def_live_range): Likewise.
* caller-save.c (save_call_clobbered_regs): Likewise.
* cfganal.c (compute_dominance_frontiers_1): Likewise.
* cfgcleanup.c (thread_jump): Likewise.
* cfgrtl.c (safe_insert_insn_on_edge): Likewise.
* conflict.c (conflict_graph_compute): Likewise.
* ddg.c (add_deps_for_use): Likewise.
* df.c (df_refs_update): Likewise.
* except.c (remove_eh_handler): Likewise.
* flow.c (verify_local_live_at_start, update_life_info,
initialize_uninitialized_subregs, propagate_one_insn,
free_propagate_block_info, propagate_block, find_use_as_address,
reg_set_to_hard_reg_set): Likewise.
* gcse.c (clear_modify_mem_tables): Likewise.
* global.c (global_conflicts, build_insn_chain): Likewise.
* ifcvt.c (dead_or_predicable): Likewise.
* local-alloc.c (update_equiv_regs): Likewise.
* loop.c (load_mems): Likewise.
* ra-build.c (livethrough_conflicts_bb, conflicts_between_webs):
Likewise.
* ra-rewrite.c (reloads_to_loads, rewrite_program2, actual_spill):
Likewise.
* reload1.c (order_regs_for_reload, finish_spills): Likewise.
* sched-deps.c (sched_analyze_insn, free_deps): Likewise.
* sched-rgn.c (propagate_deps
* tree-cfg.c (tree_purge_all_dead_eh_edges): Likewise.
* tree-dfa.c (dump_dfa_stats
tree-into-ssa.c (compute_global_livein, insert_phi_nodes,
insert_phi_nodes_for, debug_def_blocks_r, invalidate_name_tags):
Likewise.
* tree-outof-ssa.c (coalesce_ssa_name, coalesce_vars,
free_temp_expr_table, find_replaceable_exprs): Likewise.
* tree-sra.c (scan_function, scalarize_parms): Likewise.
* tree-ssa-alias.c (init_alias_info,
compute_points_to_and_addr_escape,
compute_flow_sensitive_aliasing, maybe_create_global_var): Likewise.
* tree-ssa-dce.c (mark_control_dependent_edges_necessary): Likewise.
* tree-ssa-live.c (new_tree_live_info, live_worklist,
calculate_live_on_entry, calculate_live_on_exit, compare_pairs,
sort_coalesce_list, build_tree_conflict_graph, dump_live_info
tree-ssa-loop-manip.c (add_exit_phis_var): Likewise.
tree-ssa-operands.c (get_asm_expr_operands, add_call_clobber_ops,
add_call_read_ops): Likewise.
* tree-ssa-pre.c (bitmap_print_value_set, insert_aux): Likewise.
* tree-ssa-live.h (num_var_partitions): Return unsigned.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90053 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-live.c')
-rw-r--r-- | gcc/tree-ssa-live.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/gcc/tree-ssa-live.c b/gcc/tree-ssa-live.c index 3a6e603e0a9..b3f0b785534 100644 --- a/gcc/tree-ssa-live.c +++ b/gcc/tree-ssa-live.c @@ -433,7 +433,7 @@ static tree_live_info_p new_tree_live_info (var_map map) { tree_live_info_p live; - int x; + unsigned x; live = (tree_live_info_p) xmalloc (sizeof (struct tree_live_info_d)); live->map = map; @@ -483,7 +483,7 @@ delete_tree_live_info (tree_live_info_p live) static void live_worklist (tree_live_info_p live, varray_type stack, int i) { - int b; + unsigned b; tree var; basic_block def_bb = NULL; edge e; @@ -557,7 +557,7 @@ tree_live_info_p calculate_live_on_entry (var_map map) { tree_live_info_p live; - int i; + unsigned i; basic_block bb; bitmap saw_def; tree phi, var, stmt; @@ -583,7 +583,7 @@ calculate_live_on_entry (var_map map) for (phi = phi_nodes (bb); phi; phi = PHI_CHAIN (phi)) { - for (i = 0; i < PHI_NUM_ARGS (phi); i++) + for (i = 0; i < (unsigned)PHI_NUM_ARGS (phi); i++) { var = PHI_ARG_DEF (phi, i); if (!phi_ssa_name_p (var)) @@ -648,7 +648,7 @@ calculate_live_on_entry (var_map map) int entry_block = e->dest->index; if (e->dest == EXIT_BLOCK_PTR) continue; - for (i = 0; i < num_var_partitions (map); i++) + for (i = 0; i < (unsigned)num_var_partitions (map); i++) { basic_block tmp; tree d; @@ -732,7 +732,7 @@ void calculate_live_on_exit (tree_live_info_p liveinfo) { unsigned b; - int i, x; + unsigned i, x; bitmap *on_exit; basic_block bb; edge e; @@ -741,14 +741,14 @@ calculate_live_on_exit (tree_live_info_p liveinfo) var_map map = liveinfo->map; on_exit = (bitmap *)xmalloc (last_basic_block * sizeof (bitmap)); - for (x = 0; x < last_basic_block; x++) + for (x = 0; x < (unsigned)last_basic_block; x++) on_exit[x] = BITMAP_XMALLOC (); /* Set all the live-on-exit bits for uses in PHIs. */ FOR_EACH_BB (bb) { for (phi = phi_nodes (bb); phi; phi = PHI_CHAIN (phi)) - for (i = 0; i < PHI_NUM_ARGS (phi); i++) + for (i = 0; i < (unsigned)PHI_NUM_ARGS (phi); i++) { t = PHI_ARG_DEF (phi, i); e = PHI_ARG_EDGE (phi, i); @@ -1168,7 +1168,7 @@ int compare_pairs (const void *p1, const void *p2) void sort_coalesce_list (coalesce_list_p cl) { - int x, num, count; + unsigned x, num, count; partition_pair_p chain, p; partition_pair_p *list; @@ -1296,7 +1296,7 @@ build_tree_conflict_graph (tree_live_info_p liveinfo, tpa_p tpa, conflict_graph graph; var_map map; bitmap live; - int x, y, i; + unsigned x, y, i; basic_block bb; varray_type partition_link, tpa_to_clear, tpa_nodes; unsigned l; @@ -1421,7 +1421,7 @@ build_tree_conflict_graph (tree_live_info_p liveinfo, tpa_p tpa, EXECUTE_IF_SET_IN_BITMAP (live, 0, x, bi) { i = tpa_find_tree (tpa, x); - if (i != TPA_NONE) + if (i != (unsigned)TPA_NONE) { int start = VARRAY_INT (tpa_nodes, i); /* If start is 0, a new root reference list is being started. @@ -1750,7 +1750,7 @@ void dump_live_info (FILE *f, tree_live_info_p live, int flag) { basic_block bb; - int i; + unsigned i; var_map map = live->map; bitmap_iterator bi; |