aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>2001-05-10 20:43:50 +0000
committerJeff Law <law@gcc.gnu.org>2001-05-10 14:43:50 -0600
commit7dfd465c8311a4ecf2f1245c42472093fbb870b4 (patch)
tree407eb48a413cc4ab450ef4d48e41bdd6292c3fe5 /gcc
parentf59328a83d5a5a97f64dd2997380993a99a72b7f (diff)
downloadgcc-7dfd465c8311a4ecf2f1245c42472093fbb870b4.zip
gcc-7dfd465c8311a4ecf2f1245c42472093fbb870b4.tar.gz
gcc-7dfd465c8311a4ecf2f1245c42472093fbb870b4.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/jump.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1553e01..7ffdb8f 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 <toon@moene.indiv.nluug.nl>
* dwarf2out.c (mem_loc_descriptor): Do not pass constant pool
diff --git a/gcc/jump.c b/gcc/jump.c
index 68adb83..3af808b 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