summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-propagate.c
diff options
context:
space:
mode:
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-18 13:24:49 +0000
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-18 13:24:49 +0000
commitb35d69198c35a183379be9ef0beda544843822cb (patch)
tree9e24f2cdc4165dd836128c816a5befa6690843e3 /gcc/tree-ssa-propagate.c
parent7679bd15026bd0a2881439ec3813194dfbcd7660 (diff)
downloadgcc-b35d69198c35a183379be9ef0beda544843822cb.tar.gz
* tree-ssa-propagate.c (ssa_prop_init): Use FOR_ALL_BB instead
of FOR_EACH_BB. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90860 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-propagate.c')
-rw-r--r--gcc/tree-ssa-propagate.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/tree-ssa-propagate.c b/gcc/tree-ssa-propagate.c
index 29d3fd3c489..481972acbdb 100644
--- a/gcc/tree-ssa-propagate.c
+++ b/gcc/tree-ssa-propagate.c
@@ -477,8 +477,9 @@ ssa_prop_init (void)
VARRAY_BB_INIT (cfg_blocks, 20, "cfg_blocks");
- /* Initially assume that every edge in the CFG is not executable. */
- FOR_EACH_BB (bb)
+ /* Initially assume that every edge in the CFG is not executable
+ (including the edges coming out of ENTRY_BLOCK_PTR). */
+ FOR_ALL_BB (bb)
{
block_stmt_iterator si;