aboutsummaryrefslogtreecommitdiff
path: root/gcc/reorg.c
diff options
context:
space:
mode:
authorHerman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>1998-10-23 01:34:56 +0200
committerJeff Law <law@gcc.gnu.org>1998-10-22 17:34:56 -0600
commit6f20793d6f6dfb2127328bd10e3b31d14896abd2 (patch)
treeb6a0536e171360ac6c4cc7d6761e7c23b5856dc8 /gcc/reorg.c
parent1938bea67ecff1bbb892e9f24d2e9cc5c21161db (diff)
downloadgcc-6f20793d6f6dfb2127328bd10e3b31d14896abd2.zip
gcc-6f20793d6f6dfb2127328bd10e3b31d14896abd2.tar.gz
gcc-6f20793d6f6dfb2127328bd10e3b31d14896abd2.tar.bz2
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
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 9400615..a26f9d2 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))))
{