summaryrefslogtreecommitdiff
path: root/gcc/config/lm32
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/lm32')
-rw-r--r--gcc/config/lm32/lm32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/lm32/lm32.c b/gcc/config/lm32/lm32.c
index 0d0ee5f9a9e..2e1cf445428 100644
--- a/gcc/config/lm32/lm32.c
+++ b/gcc/config/lm32/lm32.c
@@ -715,7 +715,7 @@ lm32_setup_incoming_varargs (cumulative_args_t cum_v, enum machine_mode mode,
rtx regblock;
regblock = gen_rtx_MEM (BLKmode,
- plus_constant (arg_pointer_rtx,
+ plus_constant (Pmode, arg_pointer_rtx,
FIRST_PARM_OFFSET (0)));
move_block_from_reg (first_reg_offset, regblock, size);