diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2005-03-03 16:22:38 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2005-03-03 16:22:38 +0000 |
commit | 8fb790fd3f5d9152f162370d84bc24be1913e642 (patch) | |
tree | 93a1e8691120e7ab4530ebc06e8ded994f83108f /gcc | |
parent | 09f8755b65c576c8c4019d49e9ecb3dd6da90ee9 (diff) | |
download | gcc-8fb790fd3f5d9152f162370d84bc24be1913e642.zip gcc-8fb790fd3f5d9152f162370d84bc24be1913e642.tar.gz gcc-8fb790fd3f5d9152f162370d84bc24be1913e642.tar.bz2 |
cfgexpand.c (construct_exit_block): Use EDGE_PRED instead of EDGE_I.
* cfgexpand.c (construct_exit_block): Use EDGE_PRED instead of
EDGE_I.
From-SVN: r95834
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/cfgexpand.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d19e3b3..30d0fa4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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> diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c index d429c69..ce26661 100644 --- a/gcc/cfgexpand.c +++ b/gcc/cfgexpand.c @@ -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 |