jump.c (jump_optimize_1): Do not wrap the new jump target inside a LABEL_REF...
authorJeffrey A Law <law@cygnus.com>
Thu, 10 May 2001 20:43:50 +0000 (20:43 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 10 May 2001 20:43:50 +0000 (14:43 -0600)
        * 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
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