aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-06-29 05:51:43 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-06-29 05:51:43 -0400
commit46f9b8286325de315c27246a30e43001ebf85042 (patch)
treed8f79db65be0a24ab701ea3959479c7055a53396 /gcc
parent107869976351331823ea195a44c0faf6239c89b7 (diff)
downloadgcc-46f9b8286325de315c27246a30e43001ebf85042.zip
gcc-46f9b8286325de315c27246a30e43001ebf85042.tar.gz
gcc-46f9b8286325de315c27246a30e43001ebf85042.tar.bz2
(output_cbranch): When checking for a jump to the given insn's delay slot...
(output_cbranch): When checking for a jump to the given insn's delay slot, handle the case where JUMP_LABEL for the given insn does not point to the first label in a series of labels. (output_bb, output_dbra, output_movb): Likewise. From-SVN: r10090
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/pa/pa.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c
index f2c7acc..53580d4 100644
--- a/gcc/config/pa/pa.c
+++ b/gcc/config/pa/pa.c
@@ -3615,7 +3615,7 @@ output_cbranch (operands, nullify, length, negated, insn)
In such cases it is safe to emit nothing. */
- if (JUMP_LABEL (insn) == next_nonnote_insn (insn))
+ if (next_active_insn (JUMP_LABEL (insn)) == next_active_insn (insn))
return "";
/* If this is a long branch with its delay slot unfilled, set `nullify'
@@ -3731,7 +3731,7 @@ output_bb (operands, nullify, length, negated, insn, which)
is only used when optimizing; jump optimization should eliminate the
jump. But be prepared just in case. */
- if (JUMP_LABEL (insn) == next_nonnote_insn (insn))
+ if (next_active_insn (JUMP_LABEL (insn)) == next_active_insn (insn))
return "";
/* If this is a long branch with its delay slot unfilled, set `nullify'
@@ -3862,7 +3862,7 @@ output_dbra (operands, insn, which_alternative)
/* A conditional branch to the following instruction (eg the delay slot) is
asking for a disaster. Be prepared! */
- if (JUMP_LABEL (insn) == next_nonnote_insn (insn))
+ if (next_active_insn (JUMP_LABEL (insn)) == next_active_insn (insn))
{
if (which_alternative == 0)
return "ldo %1(%0),%0";
@@ -3968,7 +3968,7 @@ output_movb (operands, insn, which_alternative, reverse_comparison)
/* A conditional branch to the following instruction (eg the delay slot) is
asking for a disaster. Be prepared! */
- if (JUMP_LABEL (insn) == next_nonnote_insn (insn))
+ if (next_active_insn (JUMP_LABEL (insn)) == next_active_insn (insn))
{
if (which_alternative == 0)
return "copy %1,%0";