aboutsummaryrefslogtreecommitdiff
path: root/gcc/bb-reorder.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>2000-04-26 22:58:05 -0700
committerRichard Henderson <rth@gcc.gnu.org>2000-04-26 22:58:05 -0700
commit604617ba2a22e682ba2813a7782607c3b93ca7c2 (patch)
tree0935d72565c8f62d3c8af62f67c83e7ecadf6c31 /gcc/bb-reorder.c
parent6777db6d4ae38b136bc0a937afb61e95f5468a6a (diff)
downloadgcc-604617ba2a22e682ba2813a7782607c3b93ca7c2.zip
gcc-604617ba2a22e682ba2813a7782607c3b93ca7c2.tar.gz
gcc-604617ba2a22e682ba2813a7782607c3b93ca7c2.tar.bz2
jump.c (invert_jump): Always invert REG_BR_PROB.
* jump.c (invert_jump): Always invert REG_BR_PROB. Do it correctly. * bb-reorder.c (reorder_basic_blocks): Don't run estimate_probability. * flow.c (calculate_loop_depth): Remove. * output.h (calculate_loop_depth): Don't declare. * toplev.c (rest_of_compilation): Expand calculate_loop_depth inline; run estimate_probability at the same time. From-SVN: r33464
Diffstat (limited to 'gcc/bb-reorder.c')
-rw-r--r--gcc/bb-reorder.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c
index 5f2e178..7812ff1 100644
--- a/gcc/bb-reorder.c
+++ b/gcc/bb-reorder.c
@@ -813,10 +813,6 @@ reorder_basic_blocks ()
/* Dump loop information. */
flow_loops_dump (&loops_info, rtl_dump_file, 0);
- /* Estimate using heuristics if no profiling info is available. */
- if (! flag_branch_probabilities)
- estimate_probability (&loops_info);
-
reorder_last_visited = BASIC_BLOCK (0);
for (i = 0; i < n_basic_blocks; i++)