diff options
author | Steve Ellcey <sje@cup.hp.com> | 2004-07-12 22:45:14 +0000 |
---|---|---|
committer | Steve Ellcey <sje@gcc.gnu.org> | 2004-07-12 22:45:14 +0000 |
commit | 5e89a381f9bde6b3959d1ddb6ebaa04df2fb2db8 (patch) | |
tree | 87705223af3ed1f7b2d93aaaa0ed8fa416ed4b73 /gcc/builtins.c | |
parent | 494d9016318068319677dd1ff501dd2d84820ddc (diff) | |
download | gcc-5e89a381f9bde6b3959d1ddb6ebaa04df2fb2db8.zip gcc-5e89a381f9bde6b3959d1ddb6ebaa04df2fb2db8.tar.gz gcc-5e89a381f9bde6b3959d1ddb6ebaa04df2fb2db8.tar.bz2 |
function.c (expand_function_start): Ensure r_save is in Pmode.
* function.c (expand_function_start): Ensure r_save is in Pmode.
* calls.c (prepare_call_address): Ensure static_chain_value is
in Pmode.
* builtins.c (expand_builtin_nonlocal_goto): Ensure r_label and
r_save_area are in Pmode.
* config/ia64/ia64.c (ia64_initialize_trampoline): Ensure addr,
fnaddr, and static_chain are in Pmode.
From-SVN: r84584
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r-- | gcc/builtins.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c index f8a794d..147cefc 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -794,7 +794,9 @@ expand_builtin_nonlocal_goto (tree arglist) t_save_area = TREE_VALUE (arglist); r_label = expand_expr (t_label, NULL_RTX, VOIDmode, 0); + r_label = convert_memory_address (Pmode, r_label); r_save_area = expand_expr (t_save_area, NULL_RTX, VOIDmode, 0); + r_save_area = convert_memory_address (Pmode, r_save_area); r_fp = gen_rtx_MEM (Pmode, r_save_area); r_sp = gen_rtx_MEM (STACK_SAVEAREA_MODE (SAVE_NONLOCAL), plus_constant (r_save_area, GET_MODE_SIZE (Pmode))); |