cfgexpand.c (construct_exit_block): Use EDGE_PRED instead of EDGE_I.
authorKazu Hirata <kazu@cs.umass.edu>
Thu, 3 Mar 2005 16:22:38 +0000 (16:22 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Thu, 3 Mar 2005 16:22:38 +0000 (16:22 +0000)
* cfgexpand.c (construct_exit_block): Use EDGE_PRED instead of
EDGE_I.

From-SVN: r95834

gcc/ChangeLog
gcc/cfgexpand.c

index d19e3b3d454c17ae7cfd484249f75aa3df5b5434..30d0fa4b142ab3b56ffc16007e2e72f1ddfb1fbd 100644 (file)
@@ -3,6 +3,9 @@
        * tree-cfg.c (stmt_starts_bb_p): Clean up by replacing code
        with LABEL_EXPR.
 
+       * cfgexpand.c (construct_exit_block): Use EDGE_PRED instead of
+       EDGE_I.
+
 2005-03-03  Roger Sayle  <roger@eyesopen.com>
            Andrew Pinski  <pinskia@physics.uc.edu>
 
index d429c69661e3b37e1755e887feac1557f819e70e..ce2666113d4cd0cabc1778a95f5142e5197267ef 100644 (file)
@@ -1237,7 +1237,7 @@ construct_exit_block (void)
   ix = 0;
   while (ix < EDGE_COUNT (EXIT_BLOCK_PTR->preds))
     {
-      e = EDGE_I (EXIT_BLOCK_PTR->preds, ix);
+      e = EDGE_PRED (EXIT_BLOCK_PTR, ix);
       if (!(e->flags & EDGE_ABNORMAL))
        redirect_edge_succ (e, exit_block);
       else