Minor fix to i386.h

Richard Kenner kenner@vlsi1.ultra.nyu.edu
Wed May 2 10:38:00 GMT 2001


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))
  



More information about the Gcc-patches mailing list