OSDN Git Service

* sbitmap.c (sbitmap_union_of_preds): Set 'e' to the next edge predecessor in
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Nov 2004 09:53:30 +0000 (09:53 +0000)
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Nov 2004 09:53:30 +0000 (09:53 +0000)
the first for-loop.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91007 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/sbitmap.c

index 159b82c..f01b7f3 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 b1e3c99..e53c60a 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;