]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* builtins.c (expand_builtin_next_arg): Change Pmode to ptr_mode.
authorSteve Ellcey <sje@cup.hp.com>
Tue, 26 Jun 2007 15:47:59 +0000 (15:47 +0000)
committerSteve Ellcey <sje@gcc.gnu.org>
Tue, 26 Jun 2007 15:47:59 +0000 (15:47 +0000)
From-SVN: r126031

gcc/ChangeLog
gcc/builtins.c

index 36845348b8a711820958e8b379ffbddd8ecb5420..42f090424cdf24b8ac72def286a8d60a2de006a1 100644 (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
index 7dd4470d7f92dac351f6e2d6b366b7207c4b9afb..222993921dc83545a31015ec0c43efbbaf15bcfa 100644 (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);