summaryrefslogtreecommitdiff
path: root/gcc/flow.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2002-03-22 12:11:21 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2002-03-22 11:11:21 +0000
commit0a2ed1f101ae61e97e3e652dde6a537ecb4a267c (patch)
treec1fc98111346b8e70b39c4624897463b590685e6 /gcc/flow.c
parent4d72536eeccbed73b276fb236a89228c34d5f50f (diff)
downloadgcc-0a2ed1f101ae61e97e3e652dde6a537ecb4a267c.tar.gz
cfgcleanup.c (outgoing_edges_math): Fix condition; relax frequencies match; avoid match on different loop depths.
* cfgcleanup.c (outgoing_edges_math): Fix condition; relax frequencies match; avoid match on different loop depths. (try_crossjump_to_bb): Kill tests that no longer brings time savings. * cfgrtl.c (force_nonfallthru_and_redirect): Fix loop_depth updating code. (split_edge): Likewise. * flow.c (update_life_info_in_dirty_blocks): Fix uninitialized variable. * Makefile.in (cfgrtl): Add insn-config.h depenendency. * cfgrtl.c: Include insn-config.h (split_block) Dirtify block in presence of conditional execution From-SVN: r51168
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 659815c5043..71ed939da63 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -764,7 +764,7 @@ update_life_info_in_dirty_blocks (extent, prop_flags)
sbitmap update_life_blocks = sbitmap_alloc (n_basic_blocks);
int block_num;
int n = 0;
- int ndead;
+ int retval = 0;
sbitmap_zero (update_life_blocks);
for (block_num = 0; block_num < n_basic_blocks; block_num++)
@@ -775,10 +775,10 @@ update_life_info_in_dirty_blocks (extent, prop_flags)
}
if (n)
- ndead = update_life_info (update_life_blocks, extent, prop_flags);
+ retval = update_life_info (update_life_blocks, extent, prop_flags);
sbitmap_free (update_life_blocks);
- return ndead;
+ return retval;
}
/* Free the variables allocated by find_basic_blocks.