summaryrefslogtreecommitdiff
path: root/gcc/jump.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-10 20:43:50 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-10 20:43:50 +0000
commit2a9c8cfad8db4aace3ae8354a17abfbbe645a4dd (patch)
tree407eb48a413cc4ab450ef4d48e41bdd6292c3fe5 /gcc/jump.c
parent9cb0e14119fa2dd5f9a09100f079f5b7d8b56e03 (diff)
downloadgcc-2a9c8cfad8db4aace3ae8354a17abfbbe645a4dd.tar.gz
* jump.c (jump_optimize_1): Do not wrap the new jump target
inside a LABEL_REF; gen_jump will do that automatically. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41947 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/jump.c')
-rw-r--r--gcc/jump.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/jump.c b/gcc/jump.c
index 68adb835890..3af808b8c07 100644
--- a/gcc/jump.c
+++ b/gcc/jump.c
@@ -608,9 +608,7 @@ jump_optimize_1 (f, cross_jump, noop_moves, after_regscan,
do_cross_jump (insn, newjpos, newlpos);
/* Make the old conditional jump
into an unconditional one. */
- PATTERN (insn)
- = gen_jump (gen_rtx_LABEL_REF (VOIDmode,
- JUMP_LABEL (insn)));
+ PATTERN (insn) = gen_jump (JUMP_LABEL (insn));
INSN_CODE (insn) = -1;
emit_barrier_after (insn);
/* Add to jump_chain unless this is a new label