bb-reorder.c (find_traces_1_round): Do not send basic block to next round when we...
authorJosef Zlomek <zlomekj@suse.cz>
Sat, 28 Jun 2003 12:07:04 +0000 (14:07 +0200)
committerJosef Zlomek <zlomek@gcc.gnu.org>
Sat, 28 Jun 2003 12:07:04 +0000 (12:07 +0000)
* bb-reorder.c (find_traces_1_round): Do not send basic block
to next round when we are in the last round.

From-SVN: r68633

gcc/ChangeLog
gcc/bb-reorder.c

index cc37c33198839ed0f050e2169af12e74cd4c76cb..e5e91095a71b55752fc66d67c9a2cb2b81c57388 100644 (file)
@@ -1,3 +1,8 @@
+2003-06-28  Josef Zlomek  <zlomekj@suse.cz>
+
+       * bb-reorder.c (find_traces_1_round): Do not send basic block
+       to next round when we are in the last round.
+
 2003-06-28  Neil Booth  <neil@daikokuya.co.uk>
 
        * Makefile.in: Update.
index 7d221c62030ccb244402f1aea678d5c547a9bd8d..e055611cda3a904668b38f28e7715d0727a67dff 100644 (file)
@@ -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;