Patch to eliminate alpha.c warnings

Richard Henderson rth@redhat.com
Fri Dec 7 02:00:00 GMT 2001


On Fri, Dec 07, 2001 at 12:11:09AM -0500, Kaveh R. Ghazi wrote:
> 	* alpha.c (alpha_expand_unaligned_store,
> 	alpha_expand_unaligned_store_words): Use constm1_rtx in place of
> 	call to immed_double_const.

Ok.

>  #if HOST_BITS_PER_WIDE_INT >= 64
> -  operands[2] = force_reg (DImode, GEN_INT (0x8000000000000000));
> +  operands[2] = force_reg (DImode, GEN_INT (INTTYPE_MINIMUM (HOST_WIDE_INT)));

This would only be ok if HOST_BITS_PER_WIDE_INT == 64, not >= 64.
Using (HOST_WIDE_INT)1 << 63 would be ok.


r~



More information about the Gcc-patches mailing list