diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-16 22:28:29 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-16 22:28:29 +0000 |
commit | 41d24834b5784dbbb08553f36eaa80386fc75d0a (patch) | |
tree | 6ad911f298df01a4dbc580f0c53b37b1d2a4a63f /gcc/gcse.c | |
parent | f9c6943bb1d4e5d0333f2d519ecf678898502570 (diff) | |
download | gcc-41d24834b5784dbbb08553f36eaa80386fc75d0a.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84840 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r-- | gcc/gcse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gcse.c b/gcc/gcse.c index d9773a14812..1d7212559b5 100644 --- a/gcc/gcse.c +++ b/gcc/gcse.c @@ -4964,7 +4964,7 @@ one_pre_gcse_pass (int pass) } free_ldst_mems (); - remove_fake_edges (); + remove_fake_exit_edges (); free_hash_table (&expr_hash_table); if (gcse_file) @@ -6858,7 +6858,7 @@ store_motion (void) free_store_memory (); free_edge_list (edge_list); - remove_fake_edges (); + remove_fake_exit_edges (); end_alias_analysis (); } |