aboutsummaryrefslogtreecommitdiff
path: root/gcc/calls.c
diff options
context:
space:
mode:
authorMumit Khan <khan@xraylith.wisc.edu>1999-04-26 22:51:09 +0000
committerJeff Law <law@gcc.gnu.org>1999-04-26 16:51:09 -0600
commit6a9c4aed1a6cce4cb8d40759c500607835f758e3 (patch)
tree639805e55460141c93c728306d3cfa5bb9e473ec /gcc/calls.c
parent112cedb09bddd98884385587645c29b8e74f8d74 (diff)
downloadgcc-6a9c4aed1a6cce4cb8d40759c500607835f758e3.zip
gcc-6a9c4aed1a6cce4cb8d40759c500607835f758e3.tar.gz
gcc-6a9c4aed1a6cce4cb8d40759c500607835f758e3.tar.bz2
function.c (put_var_into_stack): Change ptr_mode to Pmode in setup for chkr_set_right_libfunc calls.
* function.c (put_var_into_stack): Change ptr_mode to Pmode in setup for chkr_set_right_libfunc calls. (assign_params): Likewise. * expr.c (emit_push_insn): Change ptr_mode to Pmode in setup for chkr_copy_bitmap_libfunc and chkr_set_right_libfunc calls. (expand_assignment): Change ptr_mode to Pmode in setup for chkr_add_libfunc and chkr_copy_bitmap_libfunc. (store_expr): Change ptr_mode to Pmode in setup for chkr_add_libfunc and chkr_copy_bitmap_libfunc. (expand_expr): Change ptr_mode to Pmode in setup for chkr_check_addr_libfunc. (expand_builtin): Change ptr_mode to Pmode in setup for chkr_check_str_libfunc, chkr_copy_bitmap_libfunc and chkr_check_addr_libfunc. * calls.c (rtx_for_function_call): Change ptr_mode to Pmode in setup for chkr_check_exec_libfunc. (expand_call): Change ptr_mode to Pmode in setup for chkr_set_right_libfunc. (expand_call): Change ptr_mode to Pmode in setup for chkr_set_right_libfunc. (store_one_arg): Change ptr_mode to Pmode in setup for chkr_set_right_libfunc. Co-Authored-By: Donn Terry <donn@interix.com> From-SVN: r26664
Diffstat (limited to 'gcc/calls.c')
-rw-r--r--gcc/calls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/calls.c b/gcc/calls.c
index 808ff56..466c778 100644
--- a/gcc/calls.c
+++ b/gcc/calls.c
@@ -1415,7 +1415,7 @@ rtx_for_function_call (fndecl, exp)
if (current_function_check_memory_usage)
emit_library_call (chkr_check_exec_libfunc, 1,
VOIDmode, 1,
- funexp, ptr_mode);
+ funexp, Pmode);
emit_queue ();
}
return funexp;
@@ -2256,7 +2256,7 @@ expand_call (exp, target, ignore)
if (current_function_check_memory_usage)
emit_library_call (chkr_set_right_libfunc, 1,
VOIDmode, 3,
- structure_value_addr, ptr_mode,
+ structure_value_addr, Pmode,
GEN_INT (struct_value_size), TYPE_MODE (sizetype),
GEN_INT (MEMORY_USE_WO),
TYPE_MODE (integer_type_node));
@@ -3826,7 +3826,7 @@ store_one_arg (arg, argblock, may_be_alloca, variable_size,
if (current_function_check_memory_usage && GET_CODE (arg->stack) == MEM)
{
emit_library_call (chkr_set_right_libfunc, 1, VOIDmode, 3,
- XEXP (arg->stack, 0), ptr_mode,
+ XEXP (arg->stack, 0), Pmode,
ARGS_SIZE_RTX (arg->size),
TYPE_MODE (sizetype),
GEN_INT (MEMORY_USE_RW),