]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ix86_expand_split_stack_prologue (args_size): Change type to unsigned HOST_WIDE_INT.
authorJoern Rennecke <amylaar@spamcop.net>
Tue, 9 Nov 2010 14:57:26 +0000 (14:57 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Tue, 9 Nov 2010 14:57:26 +0000 (14:57 +0000)
        * ix86_expand_split_stack_prologue (args_size): Change type to
        unsigned HOST_WIDE_INT.

From-SVN: r166491

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

index 411cd90de63022e35738b01d3949cafbbbe392e5..f4c868a9c5ddda2cc5ffe06b3eb2e54263617624 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 29e4620e4eeaab0ad93ede28bbac93d5c289d6d0..138fb3fa3e4246062d3ed5b8afee407802791074 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