diff options
Diffstat (limited to 'gcc/config/v850/v850.md')
| -rw-r--r-- | gcc/config/v850/v850.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/config/v850/v850.md b/gcc/config/v850/v850.md index 900f1e3..cc82079 100644 --- a/gcc/config/v850/v850.md +++ b/gcc/config/v850/v850.md @@ -1320,8 +1320,7 @@ /* Add the table address to the index. */ emit_insn (gen_addsi3 (reg, reg, tableaddress)); /* Load the table entry. */ - mem = gen_rtx_MEM (CASE_VECTOR_MODE, reg); - MEM_READONLY_P (mem) = 1; + mem = gen_const_mem (CASE_VECTOR_MODE, reg); if (! TARGET_BIG_SWITCH) { rtx reg2 = gen_reg_rtx (HImode); |
