From 6f20793d6f6dfb2127328bd10e3b31d14896abd2 Mon Sep 17 00:00:00 2001 From: "Herman A.J. ten Brugge" Date: Fri, 23 Oct 1998 01:34:56 +0200 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/reorg.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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)))) { -- 2.30.2