summaryrefslogtreecommitdiff
path: root/gcc/explow.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/explow.c')
-rw-r--r--gcc/explow.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/explow.c b/gcc/explow.c
index 0bbbc003f6d..a887849816b 100644
--- a/gcc/explow.c
+++ b/gcc/explow.c
@@ -1404,7 +1404,8 @@ probe_stack_range (HOST_WIDE_INT first, rtx size)
gen_rtx_fmt_ee (STACK_GROW_OP, Pmode,
stack_pointer_rtx,
plus_constant (size, first)));
- emit_library_call (stack_check_libfunc, LCT_NORMAL, VOIDmode, 1, addr);
+ emit_library_call (stack_check_libfunc, LCT_NORMAL, VOIDmode, 1, addr,
+ Pmode);
}
/* Next see if we have an insn to check the stack. */