summaryrefslogtreecommitdiff
path: root/gcc/reorg.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-22 23:34:56 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-22 23:34:56 +0000
commit0bb464f9c74d40a4723fa477a2ded2eacee07a5c (patch)
treeb6a0536e171360ac6c4cc7d6761e7c23b5856dc8 /gcc/reorg.c
parentaa71cca66383ef05c62102089a485ac6b38cf944 (diff)
downloadgcc-0bb464f9c74d40a4723fa477a2ded2eacee07a5c.tar.gz
* reorg.c (relax_delay_slots): Fixed test for mostly_true_jump. The
did not match the code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23239 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reorg.c')
-rw-r--r--gcc/reorg.c2
1 files changed, 1 insertions, 1 deletions
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))))
{