This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: cross from alpha to arm
- To: Stephen Williams <steve at icarus dot icarus dot com>
- Subject: Re: cross from alpha to arm
- From: Richard Henderson <rth at cygnus dot com>
- Date: Wed, 15 Oct 1997 11:04:37 -0700
- Cc: egcs at cygnus dot com
- References: <199710151615.JAA06582@icarus.icarus.com>
- Reply-To: Richard Henderson <rth at cygnus dot com>
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
Make this instead
if (i & ~(unsigned HOST_WIDE_INT) 0xffffffff) return FALSE;
The LL will mess up non-gcc 64-bit hosts, and the conditional
will be optimized away on hosts it doesn't matter for.
r~