* builtins.c (expand_builtin_next_arg): Change Pmode to ptr_mode.

From-SVN: r126031
This commit is contained in:
Steve Ellcey 2007-06-26 15:47:59 +00:00 committed by Steve Ellcey
parent 949d9ae181
commit 4319e38c0b
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-06-26 Steve Ellcey <sje@cup.hp.com>
* builtins.c (expand_builtin_next_arg): Change Pmode to ptr_mode.
2007-06-25 Jan Hubicka <jh@suse.cz>
* ipa-inline.c (cgraph_mark_inline): Assert that we never inline

View File

@ -4586,7 +4586,7 @@ expand_builtin_next_arg (void)
{
/* Checking arguments is already done in fold_builtin_next_arg
that must be called before this function. */
return expand_binop (Pmode, add_optab,
return expand_binop (ptr_mode, add_optab,
current_function_internal_arg_pointer,
current_function_arg_offset_rtx,
NULL_RTX, 0, OPTAB_LIB_WIDEN);