OSDN Git Service

* ix86_expand_split_stack_prologue (args_size): Change type to
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Nov 2010 14:57:26 +0000 (14:57 +0000)
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Nov 2010 14:57:26 +0000 (14:57 +0000)
        unsigned HOST_WIDE_INT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166491 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/i386/i386.c

index 411cd90..f4c868a 100644 (file)
@@ -1,3 +1,8 @@
+2010-11-09  Joern Rennecke  <amylaar@spamcop.net>
+
+       * ix86_expand_split_stack_prologue (args_size): Change type to
+       unsigned HOST_WIDE_INT.
+
 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR bootstrap/46392
index 29e4620..138fb3f 100644 (file)
@@ -11063,7 +11063,7 @@ ix86_expand_split_stack_prologue (void)
 {
   struct ix86_frame frame;
   HOST_WIDE_INT allocate;
-  int args_size;
+  unsigned HOST_WIDE_INT args_size;
   rtx label, limit, current, jump_insn, allocate_rtx, call_insn, call_fusage;
   rtx scratch_reg = NULL_RTX;
   rtx varargs_label = NULL_RTX;
@@ -11172,8 +11172,7 @@ ix86_expand_split_stack_prologue (void)
             argument size in the upper 32 bits of r10 and pass the
             frame size in the lower 32 bits.  */
          gcc_assert ((allocate & (HOST_WIDE_INT) 0xffffffff) == allocate);
-         gcc_assert (((unsigned HOST_WIDE_INT) args_size & 0xffffffff)
-                     == (unsigned HOST_WIDE_INT) args_size);
+         gcc_assert ((args_size & 0xffffffff) == args_size);
 
          if (split_stack_fn_large == NULL_RTX)
            split_stack_fn_large =
@@ -11202,7 +11201,7 @@ ix86_expand_split_stack_prologue (void)
 
          fn = reg11;
 
-         argval = (((HOST_WIDE_INT) args_size << 16) << 16) + allocate;
+         argval = ((args_size << 16) << 16) + allocate;
          emit_move_insn (reg10, GEN_INT (argval));
        }
       else