[patch] pa.md fix typos in prefetch_64 and prefetch_32 patterns
John David Anglin
dave@hiauly1.hia.nrc.ca
Sun Oct 31 17:12:00 GMT 2004
Graham,
> While building a x86 -> hppa cross I noticed a couple of "cast from
> pointer to integer of different size" warnings when compiling insn-recog.c
>
> The problem here is in a couple of places in pa.md VAL_5_BITS_P is being
> passed a CONST_INT rtx and not it's INTVAL value which results in the warning.
Thanks for spotting this. Instead of explicitly adding INTVAL,
I'd prefer changing `VAL_5_BITS_P' to `INT_5_BITS'. Keeps the
lines a bit shorter.
If you don't have time, I'll install the fix later today.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
More information about the Gcc-patches
mailing list