aboutsummaryrefslogtreecommitdiff
path: root/gcc/modulo-sched.c
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2005-07-19 04:08:32 +0000
committerBen Elliston <bje@gcc.gnu.org>2005-07-19 14:08:32 +1000
commitdfea6c85d86d561ce13b3e0278afab4106547ba8 (patch)
tree6dbb8cbe0b281c1de8f2264e4a111ada8e550d69 /gcc/modulo-sched.c
parentb9d3348810a657d5b64e23cb6f098bd7d479191b (diff)
downloadgcc-dfea6c85d86d561ce13b3e0278afab4106547ba8.zip
gcc-dfea6c85d86d561ce13b3e0278afab4106547ba8.tar.gz
gcc-dfea6c85d86d561ce13b3e0278afab4106547ba8.tar.bz2
bt-load.c (link_btr_uses): Fix uninitialised warnings.
* bt-load.c (link_btr_uses): Fix uninitialised warnings. * cfganal.c (find_edge_index): Ditto. * combine.c (combine_instructions): Ditto. * ddg.c (create_scc): Ditto. (find_successors): Ditto. (find_predecessors): Ditto. (find_nodes_on_paths): Ditto. (longest_simple_path): Ditto. * flow.c (update_life_info): Ditto. (count_or_remove_death_notes): Ditto. (clear_log_links): Ditto. * modulo-sched.c (generate_reg_moves): Ditto. (find_max_asap): Ditto. (find_max_hv_min_mob): Ditto. (find_max_dv_min_mob): Ditto. * sbitmap.c (sbitmap_first_set_bit): Ditto. * sched-rgn.c (extract_edgelst): Ditto. * tree-into-ssa.c (prepare_names_to_update): Ditto. (dump_update_ssa): Ditto. (ssa_names_to_replace) Ditto. (switch_virtuals_to_full_rewrite): Ditto. (update_ssa): Ditto. * tree-vect-transform.c (vect_create_epilog_for_reduction): Ditto. From-SVN: r102151
Diffstat (limited to 'gcc/modulo-sched.c')
-rw-r--r--gcc/modulo-sched.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/modulo-sched.c b/gcc/modulo-sched.c
index 4b3b900..69a9d33 100644
--- a/gcc/modulo-sched.c
+++ b/gcc/modulo-sched.c
@@ -501,7 +501,7 @@ generate_reg_moves (partial_schedule_ptr ps)
for (i_reg_move = 0; i_reg_move < nreg_moves; i_reg_move++)
{
- unsigned int i_use;
+ unsigned int i_use = 0;
rtx new_reg = gen_reg_rtx (GET_MODE (prev_reg));
rtx reg_move = gen_move_insn (new_reg, prev_reg);
sbitmap_iterator sbi;
@@ -1845,7 +1845,7 @@ calculate_order_params (ddg_ptr g, int mii ATTRIBUTE_UNUSED)
static int
find_max_asap (ddg_ptr g, sbitmap nodes)
{
- unsigned int u;
+ unsigned int u = 0;
int max_asap = -1;
int result = -1;
sbitmap_iterator sbi;
@@ -1866,7 +1866,7 @@ find_max_asap (ddg_ptr g, sbitmap nodes)
static int
find_max_hv_min_mob (ddg_ptr g, sbitmap nodes)
{
- unsigned int u;
+ unsigned int u = 0;
int max_hv = -1;
int min_mob = INT_MAX;
int result = -1;
@@ -1895,7 +1895,7 @@ find_max_hv_min_mob (ddg_ptr g, sbitmap nodes)
static int
find_max_dv_min_mob (ddg_ptr g, sbitmap nodes)
{
- unsigned int u;
+ unsigned int u = 0;
int max_dv = -1;
int min_mob = INT_MAX;
int result = -1;