diff options
author | Catherine Moore <clm@redhat.com> | 2001-07-20 13:42:57 +0000 |
---|---|---|
committer | Catherine Moore <clm@gcc.gnu.org> | 2001-07-20 09:42:57 -0400 |
commit | 3a97685a1d5f7dfbd9152cdff92f3f483c81b9dc (patch) | |
tree | f690cb491c551673c2548a570fdc5ceb735ad4d3 /gcc | |
parent | eec9ac3d090d032c9e5c7e549ada5742c1392ca0 (diff) | |
download | gcc-3a97685a1d5f7dfbd9152cdff92f3f483c81b9dc.zip gcc-3a97685a1d5f7dfbd9152cdff92f3f483c81b9dc.tar.gz gcc-3a97685a1d5f7dfbd9152cdff92f3f483c81b9dc.tar.bz2 |
v850.md (casesi): Generate LABEL_REF with Pmode.
* config/v850/v850.md (casesi): Generate LABEL_REF
with Pmode.
From-SVN: r44197
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/v850/v850.md | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 656ad64..b846765 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/v850/v850.md b/gcc/config/v850/v850.md index 4308e07..354dc11 100644 --- a/gcc/config/v850/v850.md +++ b/gcc/config/v850/v850.md @@ -944,7 +944,7 @@ 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. */ |