This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] pa.md fix typos in prefetch_64 and prefetch_32 patterns
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: gcc-patches at gcc dot gnu dot org
- Cc: graham dot stott at btinternet dot com
- Date: Sun, 31 Oct 2004 11:35:32 -0500 (EST)
- Subject: Re: [patch] pa.md fix typos in prefetch_64 and prefetch_32 patterns
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)