aboutsummaryrefslogtreecommitdiff
path: root/gcc/flow.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/flow.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/flow.c')
-rw-r--r--gcc/flow.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/flow.c b/gcc/flow.c
index 6a0022d..2ebcdda 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -572,7 +572,7 @@ update_life_info (sbitmap blocks, enum update_life_extent extent,
int prop_flags)
{
regset tmp;
- unsigned i;
+ unsigned i = 0;
int stabilized_prop_flags = prop_flags;
basic_block bb;
@@ -4383,7 +4383,7 @@ int
count_or_remove_death_notes (sbitmap blocks, int kill)
{
int count = 0;
- unsigned int i;
+ unsigned int i = 0;
basic_block bb;
/* This used to be a loop over all the blocks with a membership test
@@ -4489,7 +4489,7 @@ clear_log_links (sbitmap blocks)
}
else
{
- unsigned int i;
+ unsigned int i = 0;
sbitmap_iterator sbi;
EXECUTE_IF_SET_IN_SBITMAP (blocks, 0, i, sbi)