This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: machmode.h
- To: "David S. Miller" <davem at dm dot cobaltmicro dot com>
- Subject: Re: machmode.h
- From: John Carr <jfc at tiac dot net>
- Date: Sat, 03 Oct 1998 16:50:11 EDT
- cc: egcs at cygnus dot com
> Although those new warnings emitted now will be tough to get rid of
> for the larger modes (> HOST_BITS_PER_WIDE_INT) without some clever
> preprocessing directives.
Would this help?
*** rtl.c 1998/10/01 16:47:38 1.20
--- rtl.c 1998/10/03 20:48:39
*************** unsigned char mode_wider_mode[(int) MAX_
*** 118,124 ****
#undef DEF_MACHMODE
#define DEF_MACHMODE(SYM, NAME, CLASS, SIZE, UNIT, WIDER) \
! ((SIZE) * BITS_PER_UNIT >= HOST_BITS_PER_WIDE_INT) ? ~(unsigned HOST_WIDE_INT)0 : ((unsigned HOST_WIDE_INT) 1 << (SIZE) * BITS_PER_UNIT) - 1,
/* Indexed by machine mode, gives mask of significant bits in mode. */
--- 118,124 ----
#undef DEF_MACHMODE
#define DEF_MACHMODE(SYM, NAME, CLASS, SIZE, UNIT, WIDER) \
! ((SIZE) * BITS_PER_UNIT >= HOST_BITS_PER_WIDE_INT) ? ~(unsigned HOST_WIDE_INT)0 : ((unsigned HOST_WIDE_INT) 1 << ((SIZE) * BITS_PER_UNIT & (HOST_BITS_PER_WIDE_INT - 1))) - 1,
/* Indexed by machine mode, gives mask of significant bits in mode. */