This is the mail archive of the
mailing list for the GCC project.
Re: Patch to eliminate alpha.c warnings
- From: Richard Henderson <rth at redhat dot com>
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 6 Dec 2001 13:32:39 -0800
- Subject: Re: Patch to eliminate alpha.c warnings
- References: <200112061858.NAA28474@caip.rutgers.edu>
On Thu, Dec 06, 2001 at 01:58:04PM -0500, Kaveh R. Ghazi wrote:
> How about defining a macro to this expr?
> ((((HOST_WIDEST_INT) 0xffffffff) << 32) | 0xffffffff)
> Acceptable or too ugly?
Ug. I'd rather leave it as is. GCC does the right thing
despite the warning you get when cross compiling, and the
warning doesn't appear in a native build.
Hum. This is all kinda silly, really. That constant is
constm1_rtx. No need to call immed_double_const at all.
> * alpha.c (function_arg): Cast value to HOST_WIDE_INT before shifting.