]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* cfgexpand.c (construct_exit_block): Use EDGE_PRED instead of
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Mar 2005 16:22:38 +0000 (16:22 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Mar 2005 16:22:38 +0000 (16:22 +0000)
EDGE_I.

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

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