summaryrefslogtreecommitdiff
path: root/gcc/bb-reorder.c
diff options
context:
space:
mode:
authorzlomek <zlomek@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-28 12:07:04 +0000
committerzlomek <zlomek@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-28 12:07:04 +0000
commit908dd863a10fcc66c20189ef2d335c014bc7eca3 (patch)
treeeaf8d053ad6a55277931805291caa18d7eb7e3ef /gcc/bb-reorder.c
parentdd9c98a9bd4c7b26692d894e5e93fee601a688e5 (diff)
downloadgcc-908dd863a10fcc66c20189ef2d335c014bc7eca3.tar.gz
* bb-reorder.c (find_traces_1_round): Do not send basic block
to next round when we are in the last round. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68633 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/bb-reorder.c')
-rw-r--r--gcc/bb-reorder.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c
index 7d221c62030..e055611cda3 100644
--- a/gcc/bb-reorder.c
+++ b/gcc/bb-reorder.c
@@ -374,8 +374,9 @@ find_traces_1_round (int branch_th, int exec_th, gcov_type count_th,
fprintf (rtl_dump_file, "Getting bb %d\n", bb->index);
/* If the BB's frequency is too low send BB to the next round. */
- if (bb->frequency < exec_th || bb->count < count_th
- || ((round < N_ROUNDS - 1) && probably_never_executed_bb_p (bb)))
+ if (round < N_ROUNDS - 1
+ && (bb->frequency < exec_th || bb->count < count_th
+ || probably_never_executed_bb_p (bb)))
{
int key = bb_to_key (bb);
bbd[bb->index].heap = new_heap;