OSDN Git Service

* jump.c (jump_optimize_1): Do not wrap the new jump target
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 May 2001 20:43:50 +0000 (20:43 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 May 2001 20:43:50 +0000 (20:43 +0000)
        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

gcc/ChangeLog
gcc/jump.c

index 1553e01..7ffdb8f 100644 (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
index 68adb83..3af808b 100644 (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