diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 7 |
2 files changed, 8 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 411cd90..f4c868a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 29e4620..138fb3f 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -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 |