This is the mail archive of the gcc@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]

Re: cross from alpha to arm


On Wed, Oct 15, 1997 at 09:15:25AM +0800, Stephen Williams wrote:
> + #if HOST_BITS_PER_WIDE_INT > 32
> +   if (i & 0xffffffff00000000LL) return FALSE;
> + #endif

rth@dot.cygnus.com said:
> Make this instead

>   if (i & ~(unsigned HOST_WIDE_INT) 0xffffffff) return FALSE; 

Even better! It tests out just fine. Thanks.


-- 
Steve Williams
steve@icarus.com
steve@picturel.com

"The woods are lovely, dark and deep.  But I have promises to keep,
And lines to code before I sleep, And lines to code before I sleep."




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