From: Herman A.J. ten Brugge Date: Thu, 22 Oct 1998 23:34:56 +0000 (+0200) Subject: reorg.c (relax_delay_slots): Fixed test for mostly_true_jump. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6f20793d6f6dfb2127328bd10e3b31d14896abd2;p=gcc.git reorg.c (relax_delay_slots): Fixed test for mostly_true_jump. * reorg.c (relax_delay_slots): Fixed test for mostly_true_jump. The did not match the code. From-SVN: r23239 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3c5452f519b..d27c8a84022 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +1998-10-23 Herman A.J. ten Brugge + + * reorg.c (relax_delay_slots): Fixed test for mostly_true_jump. The + did not match the code. + Fri Oct 23 00:07:01 1998 Bernd Schmidt * regclass.c (regclass): Break out some code into new function diff --git a/gcc/reorg.c b/gcc/reorg.c index 9400615e23a..a26f9d20b23 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -4164,7 +4164,7 @@ relax_delay_slots (first) && (other = prev_active_insn (insn)) != 0 && (condjump_p (other) || condjump_in_parallel_p (other)) && no_labels_between_p (other, insn) - && 0 < mostly_true_jump (other, + && 0 > mostly_true_jump (other, get_branch_condition (other, JUMP_LABEL (other)))) {