diff options
author | Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> | 1998-10-23 01:34:56 +0200 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-10-22 17:34:56 -0600 |
commit | 6f20793d6f6dfb2127328bd10e3b31d14896abd2 (patch) | |
tree | b6a0536e171360ac6c4cc7d6761e7c23b5856dc8 | |
parent | 1938bea67ecff1bbb892e9f24d2e9cc5c21161db (diff) | |
download | gcc-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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/reorg.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3c5452f..d27c8a8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +1998-10-23 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> + + * 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 <crux@pool.informatik.rwth-aachen.de> * regclass.c (regclass): Break out some code into new function 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)))) { |