aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2004-04-13 16:30:24 -0700
committerRichard Henderson <rth@gcc.gnu.org>2004-04-13 16:30:24 -0700
commitb50b729d4d95b39ffc9beef0333c2f80f2a32260 (patch)
tree2d7de6ceddcfae0ba26ac1769d95904822c2648b
parent9532c14fb5503b0e7f5ceb988fe1d71ad122c96b (diff)
downloadgcc-b50b729d4d95b39ffc9beef0333c2f80f2a32260.zip
gcc-b50b729d4d95b39ffc9beef0333c2f80f2a32260.tar.gz
gcc-b50b729d4d95b39ffc9beef0333c2f80f2a32260.tar.bz2
bb-reorder.c (fix_crossing_unconditional_branches): Use Pmode for LABEL_REFs.
* bb-reorder.c (fix_crossing_unconditional_branches): Use Pmode for LABEL_REFs. From-SVN: r80667
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/bb-reorder.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index face0c9..7f60022 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-03-13 Richard Henderson <rth@redhat.com>
+
+ * bb-reorder.c (fix_crossing_unconditional_branches): Use Pmode
+ for LABEL_REFs.
+
2004-04-13 Ulrich Weigand <uweigand@de.ibm.com>
* reload1.c (emit_reload_insns): Set reg_has_output_reload to one
diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c
index 022cb33..283dc39 100644
--- a/gcc/bb-reorder.c
+++ b/gcc/bb-reorder.c
@@ -1771,7 +1771,7 @@ fix_crossing_unconditional_branches (void)
reference of label, as target for jump. */
label = JUMP_LABEL (last_insn);
- label_addr = gen_rtx_LABEL_REF (VOIDmode, label);
+ label_addr = gen_rtx_LABEL_REF (Pmode, label);
LABEL_NUSES (label) += 1;
/* Get a register to use for the indirect jump. */