diff options
Diffstat (limited to 'gcc/config/picochip/picochip.c')
-rw-r--r-- | gcc/config/picochip/picochip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/picochip/picochip.c b/gcc/config/picochip/picochip.c index b878a1f1777..57cbd157f41 100644 --- a/gcc/config/picochip/picochip.c +++ b/gcc/config/picochip/picochip.c @@ -4696,6 +4696,6 @@ picochip_static_chain (const_tree ARG_UNUSED (fndecl), bool incoming_p) if (incoming_p) addr = arg_pointer_rtx; else - addr = plus_constant (stack_pointer_rtx, -2 * UNITS_PER_WORD); + addr = plus_constant (Pmode, stack_pointer_rtx, -2 * UNITS_PER_WORD); return gen_frame_mem (Pmode, addr); } |