From: Richard Kenner Date: Wed, 2 May 2001 17:37:26 +0000 (+0000) Subject: * config/i386/i386.h (FUNCTION_BOUNDARY): Result is unsigned. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f1419b42511902582af98312ee45e6b23d9a875b;p=gcc.git * config/i386/i386.h (FUNCTION_BOUNDARY): Result is unsigned. From-SVN: r41767 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2c0f89451d4..1a9e61af534 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ Wed May 2 13:09:36 2001 Richard Kenner + * config/i386/i386.h (FUNCTION_BOUNDARY): Result is unsigned. + * function.c (fixup_var_regs_1, case SUBREG): Use promoted mode for replacement. diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index 626ca2777e7..b6dc9c44a26 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -588,7 +588,9 @@ extern int ix86_arch; /* Allocation boundary for the code of a function. */ #define FUNCTION_BOUNDARY \ - (1 << ((ix86_align_funcs >= 0 ? ix86_align_funcs : -ix86_align_funcs) + 3)) + ((unsigned int) 1 << ((ix86_align_funcs >= 0 \ + ? ix86_align_funcs : -ix86_align_funcs) \ + + 3)) /* Alignment of field after `int : 0' in a structure. */