From: Joern Rennecke Date: Tue, 9 Nov 2010 14:57:26 +0000 (+0000) Subject: ix86_expand_split_stack_prologue (args_size): Change type to unsigned HOST_WIDE_INT. X-Git-Tag: releases/gcc-4.6.0~2785 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a8869bde32b5bc8b130cc090b5ffe210466bb2bc;p=thirdparty%2Fgcc.git ix86_expand_split_stack_prologue (args_size): Change type to unsigned HOST_WIDE_INT. * ix86_expand_split_stack_prologue (args_size): Change type to unsigned HOST_WIDE_INT. From-SVN: r166491 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 411cd90de630..f4c868a9c5dd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-11-09 Joern Rennecke + + * ix86_expand_split_stack_prologue (args_size): Change type to + unsigned HOST_WIDE_INT. + 2010-11-09 H.J. Lu PR bootstrap/46392 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 29e4620e4eea..138fb3fa3e42 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