This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch to eliminate alpha.c warnings


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.

Ok.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]