This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Minor fix to i386.h
- To: gcc-patches at gcc dot gnu dot org
- Subject: Minor fix to i386.h
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Wed, 2 May 01 13:41:41 EDT
This removes the potential for warnings. Tested by compilation only on i386.
Committed only to mainline.
Wed May 2 13:09:36 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* config/i386/i386.h (FUNCTION_BOUNDARY): Result is unsigned.
*** config/i386/i386.h 2001/04/28 19:16:30 1.178
--- config/i386/i386.h 2001/05/02 16:58:49
*************** extern int ix86_arch;
*** 589,593 ****
/* Allocation boundary for the code of a function. */
#define FUNCTION_BOUNDARY \
! (1 << ((ix86_align_funcs >= 0 ? ix86_align_funcs : -ix86_align_funcs) + 3))
/* Alignment of field after `int : 0' in a structure. */
--- 589,595 ----
/* Allocation boundary for the code of a function. */
#define FUNCTION_BOUNDARY \
! ((unsigned int) 1 << ((ix86_align_funcs >= 0 \
! ? ix86_align_funcs : -ix86_align_funcs) \
! + 3))