From: Nick Clifton Date: Mon, 22 Nov 2004 09:53:30 +0000 (+0000) Subject: sbitmap.c (sbitmap_union_of_preds): Set 'e' to the next edge predecessor in the first... X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6cb70db4d9333ea241e1076147ec8f3516ea7982;p=platform%2Fupstream%2Fgcc.git sbitmap.c (sbitmap_union_of_preds): Set 'e' to the next edge predecessor in the first for-loop. * sbitmap.c (sbitmap_union_of_preds): Set 'e' to the next edge predecessor in the first for-loop. From-SVN: r91007 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 159b82c..f01b7f3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-11-22 Nick Clifton + + * sbitmap.c (sbitmap_union_of_preds): Set 'e' to the next edge + predecessor in the first for-loop. + 2004-11-21 Stan Shebs * config/rs6000/rs6000.c: (rs6000_darwin64_function_arg): Add diff --git a/gcc/sbitmap.c b/gcc/sbitmap.c index b1e3c99..e53c60a 100644 --- a/gcc/sbitmap.c +++ b/gcc/sbitmap.c @@ -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;