aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1992-12-27 19:52:26 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1992-12-27 19:52:26 -0500
commit9fca773d22ce7679d9f683210a36ae5e520cb311 (patch)
treecbfabcbc21b0a2b752070f0be4d141d956de4ecc /gcc
parent6a270722a54206dcac48a6509d6d7848b3a0bddf (diff)
downloadgcc-9fca773d22ce7679d9f683210a36ae5e520cb311.zip
gcc-9fca773d22ce7679d9f683210a36ae5e520cb311.tar.gz
gcc-9fca773d22ce7679d9f683210a36ae5e520cb311.tar.bz2
(relax_delay_slots): Only look at JUMP_LABEL for a condjump_p.
From-SVN: r2935
Diffstat (limited to 'gcc')
-rw-r--r--gcc/reorg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c
index bcee35e..49d66fa 100644
--- a/gcc/reorg.c
+++ b/gcc/reorg.c
@@ -3207,6 +3207,7 @@ relax_delay_slots (first)
the next insn, or jumps to a label that is not the last of a
group of consecutive labels. */
if (GET_CODE (insn) == JUMP_INSN
+ && condjump_p (insn)
&& (target_label = JUMP_LABEL (insn)) != 0)
{
target_label = follow_jumps (target_label);