tree-ssa-propagate.c (ssa_prop_init): Use FOR_ALL_BB instead of FOR_EACH_BB.
authorDiego Novillo <dnovillo@redhat.com>
Thu, 18 Nov 2004 13:24:49 +0000 (13:24 +0000)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Thu, 18 Nov 2004 13:24:49 +0000 (08:24 -0500)
* tree-ssa-propagate.c (ssa_prop_init): Use FOR_ALL_BB instead
of FOR_EACH_BB.

From-SVN: r90860

gcc/ChangeLog
gcc/tree-ssa-propagate.c

index 817e447be5e7466c414878967dae8728b773eede..713d6c2367f42466137a806ff57fe5b86b1eb682 100644 (file)
@@ -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.
index 29d3fd3c4896245ea46690e9e902ef011b4523be..481972acbdbd01a3f106c13362526b0dbf2305e5 100644 (file)
@@ -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;