From 7dfd465c8311a4ecf2f1245c42472093fbb870b4 Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Thu, 10 May 2001 20:43:50 +0000 Subject: [PATCH] jump.c (jump_optimize_1): Do not wrap the new jump target inside a LABEL_REF... * jump.c (jump_optimize_1): Do not wrap the new jump target inside a LABEL_REF; gen_jump will do that automatically. From-SVN: r41947 --- gcc/ChangeLog | 5 +++++ gcc/jump.c | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1553e0117cb..7ffdb8ffe55 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Thu May 10 14:45:44 2001 Jeffrey A Law (law@cygnus.com) + + * jump.c (jump_optimize_1): Do not wrap the new jump target + inside a LABEL_REF; gen_jump will do that automatically. + 2001-05-10 Toon Moene * dwarf2out.c (mem_loc_descriptor): Do not pass constant pool 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