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
This commit is contained in:
Jeffrey A Law 2001-05-10 20:43:50 +00:00 committed by Jeff Law
parent f59328a83d
commit 7dfd465c83
2 changed files with 6 additions and 3 deletions

View File

@ -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 <toon@moene.indiv.nluug.nl>
* dwarf2out.c (mem_loc_descriptor): Do not pass constant pool

View File

@ -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