aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgcleanup.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2004-07-16 15:28:29 -0700
committerRichard Henderson <rth@gcc.gnu.org>2004-07-16 15:28:29 -0700
commit6809cbf90dffd5a6fccf96d67c5f520e1a162eb6 (patch)
tree6ad911f298df01a4dbc580f0c53b37b1d2a4a63f /gcc/cfgcleanup.c
parent7b48e1e0f0ea539efeca2a5be7f8fc93714d41bd (diff)
downloadgcc-6809cbf90dffd5a6fccf96d67c5f520e1a162eb6.zip
gcc-6809cbf90dffd5a6fccf96d67c5f520e1a162eb6.tar.gz
gcc-6809cbf90dffd5a6fccf96d67c5f520e1a162eb6.tar.bz2
basic-block.h (remove_fake_exit_edges): Declare.
* basic-block.h (remove_fake_exit_edges): Declare. * cfganal.c (remove_fake_predecessors): Rename from remove_fake_successors; iterate over predecessors. (remove_fake_exit_edges): New. * cfgcleanup.c (try_optimize_cfg): Use it. * gcse.c (one_pre_gcse_pass, store_motion): Likewise. * predict.c (estimate_probability): Likewise. (tree_estimate_probability, note_prediction_to_br_prob): Likewise. * tree-cfg.c (make_edges): Likewise. * tree-ssa-pre.c (fini_pre): Likewise. * profile.c (instrument_edges): Don't remove_fake_edges. (branch_prob): Do it earlier here. From-SVN: r84840
Diffstat (limited to 'gcc/cfgcleanup.c')
-rw-r--r--gcc/cfgcleanup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfgcleanup.c b/gcc/cfgcleanup.c
index 9cccf0e..f167800 100644
--- a/gcc/cfgcleanup.c
+++ b/gcc/cfgcleanup.c
@@ -1978,7 +1978,7 @@ try_optimize_cfg (int mode)
}
if (mode & CLEANUP_CROSSJUMP)
- remove_fake_edges ();
+ remove_fake_exit_edges ();
clear_aux_for_blocks ();