sbitmap.c (sbitmap_union_of_preds): Set 'e' to the next edge predecessor in the first...
authorNick Clifton <nickc@redhat.com>
Mon, 22 Nov 2004 09:53:30 +0000 (09:53 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Mon, 22 Nov 2004 09:53:30 +0000 (09:53 +0000)
* sbitmap.c (sbitmap_union_of_preds): Set 'e' to the next edge predecessor in
the first for-loop.

From-SVN: r91007

gcc/ChangeLog
gcc/sbitmap.c

index 159b82c4999cfa487066b3c04ba45c55f42b3837..f01b7f3b48e3c042d3053e2e26733ac9a2b34ff4 100644 (file)
@@ -1,3 +1,8 @@
+2004-11-22  Nick Clifton  <nickc@redhat.com>
+
+       * sbitmap.c (sbitmap_union_of_preds): Set 'e' to the next edge
+       predecessor in the first for-loop.
+
 2004-11-21  Stan Shebs  <shebs@apple.com>
 
        * config/rs6000/rs6000.c: (rs6000_darwin64_function_arg): Add
index b1e3c99efd8becad88e6cec589581ec6c3b4ee3d..e53c60aa453c26934d31c4a8ff4fb1ed7ac309b3 100644 (file)
@@ -638,6 +638,7 @@ sbitmap_union_of_preds (sbitmap dst, sbitmap *src, int bb)
 
   for (e = NULL, ix = 0; ix < EDGE_COUNT (b->preds); ix++)
     {
+      e = EDGE_PRED (b, ix);
       if (e->src== ENTRY_BLOCK_PTR)
        continue;