diff options
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/pa/pa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index c9c6525..652eba5 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -714,8 +714,8 @@ legitimize_pic_address (rtx orig, enum machine_mode mode, rtx reg) if (function_label_operand (orig, mode)) { - /* Force function label into memory. */ - orig = XEXP (force_const_mem (mode, orig), 0); + /* Force function label into memory in word mode. */ + orig = XEXP (force_const_mem (word_mode, orig), 0); /* Load plabel address from DLT. */ emit_move_insn (tmp_reg, gen_rtx_PLUS (word_mode, pic_offset_table_rtx, |