RE: Compiling for ARMv8-A Using GCC 7.2.0 - Assertion error in gen-fac

2019-12-06 Thread Damm, Stephen
I also see no reasonable way for it to end up as 1. If I printf("%lu") those same two variables the results are even more strange: == GCC 4.8.5 == GMP_HLIMB_BIT=4294967296=1

Re: Compiling for ARMv8-A Using GCC 7.2.0 - Assertion error in gen-fac

2019-12-06 Thread Torbjörn Granlund
ni...@lysator.liu.se (Niels Möller) writes: > I was able to narrow down the cause. In GC 7.2.0 the GMP_LLIMB_MASK is wrong: > > =GCC 4.8.5= > GMP_LIMB_BITS=64 > GMP_LLIMB_MASK=4294967295=0x > > =GCC 7.2.0= > GMP_LIMB_BITS=64 > GMP_LLIMB_MASK=1=0x0001 > > From

Re: Compiling for ARMv8-A Using GCC 7.2.0 - Assertion error in gen-fac

2019-12-06 Thread Niels Möller
"Damm, Stephen" writes: > I was able to narrow down the cause. In GC 7.2.0 the GMP_LLIMB_MASK is wrong: > > =GCC 4.8.5= > GMP_LIMB_BITS=64 > GMP_LLIMB_MASK=4294967295=0x > > =GCC 7.2.0= > GMP_LIMB_BITS=64 > GMP_LLIMB_MASK=1=0x0001 > > From my understanding this might be a difference