diff options
author | Diego Novillo <dnovillo@redhat.com> | 2004-11-18 13:24:49 +0000 |
---|---|---|
committer | Diego Novillo <dnovillo@gcc.gnu.org> | 2004-11-18 08:24:49 -0500 |
commit | 0777d852b3d7b1cb68b63a6c56db0c235e51f883 (patch) | |
tree | 9e24f2cdc4165dd836128c816a5befa6690843e3 | |
parent | 5cd37749e08774aa33c9988a69471019c7878845 (diff) | |
download | gcc-0777d852b3d7b1cb68b63a6c56db0c235e51f883.zip gcc-0777d852b3d7b1cb68b63a6c56db0c235e51f883.tar.gz gcc-0777d852b3d7b1cb68b63a6c56db0c235e51f883.tar.bz2 |
tree-ssa-propagate.c (ssa_prop_init): Use FOR_ALL_BB instead of FOR_EACH_BB.
* tree-ssa-propagate.c (ssa_prop_init): Use FOR_ALL_BB instead
of FOR_EACH_BB.
From-SVN: r90860
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree-ssa-propagate.c | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 817e447..713d6c2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-11-18 Diego Novillo <dnovillo@redhat.com> + + * tree-ssa-propagate.c (ssa_prop_init): Use FOR_ALL_BB instead + of FOR_EACH_BB. + 2004-11-18 Jon Grimm <jgrimm2@us.ibm.com> * Makefile.in (macro_list): Depend on s-macro_list. diff --git a/gcc/tree-ssa-propagate.c b/gcc/tree-ssa-propagate.c index 29d3fd3..481972a 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; |