]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
v850.md (casesi): Generate LABEL_REF with Pmode.
authorCatherine Moore <clm@redhat.com>
Fri, 20 Jul 2001 13:42:57 +0000 (13:42 +0000)
committerCatherine Moore <clm@gcc.gnu.org>
Fri, 20 Jul 2001 13:42:57 +0000 (09:42 -0400)
        * config/v850/v850.md (casesi): Generate LABEL_REF
        with Pmode.

From-SVN: r44197

gcc/ChangeLog
gcc/config/v850/v850.md

index 656ad64ee467a379a0e5f7554ac479d77698df2d..b846765c5bfbafad20322a76d168f1537d323505 100644 (file)
@@ -1,3 +1,8 @@
+2001-07-20  Catherine Moore  <clm@redhat.com>
+
+        * config/v850/v850.md (casesi): Generate LABEL_REF
+        with Pmode.
+
 Fri Jul 20 14:12:57 CEST 2001  Jan Hubicka  <jh@suse.cz>
 
        * i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
index 4308e07e5ac38fc4c2483024fab84d9e52a08de7..354dc111ba4f9d017a5615cb9f5ebd7e05a211c3 100644 (file)
   emit_insn (gen_ashlsi3 (reg, reg, GEN_INT (TARGET_BIG_SWITCH ? 2 : 1)));
   /* Load the table address into a pseudo.  */
   emit_insn (gen_movsi (tableaddress,
-                       gen_rtx_LABEL_REF (VOIDmode, operands[3])));
+                       gen_rtx_LABEL_REF (Pmode, operands[3])));
   /* Add the table address to the index.  */
   emit_insn (gen_addsi3 (reg, reg, tableaddress));
   /* Load the table entry.  */