bb-reorder.c (fix_crossing_unconditional_branches): Use Pmode for LABEL_REFs.
authorRichard Henderson <rth@redhat.com>
Tue, 13 Apr 2004 23:30:24 +0000 (16:30 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 13 Apr 2004 23:30:24 +0000 (16:30 -0700)
        * bb-reorder.c (fix_crossing_unconditional_branches): Use Pmode
        for LABEL_REFs.

From-SVN: r80667

gcc/ChangeLog
gcc/bb-reorder.c

index face0c94e0054c44eca8e902ef4009869b95f7ce..7f60022e9618cb0097d383d0af00097052425c30 100644 (file)
@@ -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
index 022cb33eb2eb78b1f9149e7ec160fddae2d0c0d1..283dc395f6e46b7bfd5489554462f7e4364d6760 100644 (file)
@@ -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.  */