make failure trying to build gmp-5.1.0a on Tru64unix v5.1b system

bodrato at mail.dm.unipi.it bodrato at mail.dm.unipi.it
Sat Feb 16 10:55:11 CET 2013


Ciao,

Il Sab, 16 Febbraio 2013 8:23 am, Niels ha scritto:
> Bill.Glessner at cwu.EDU writes:

>> Replace
>>
>> /*  assert ((dp[dn-1] & GMP_LIMB_HIGHBIT) != 0); */
>>
>> With
>>
>>   mp_limb_t dpVAL;
>>   dpVAL = dp[dn-1];
>>   assert ((dpVAL & GMP_LIMB_HIGHBIT) != 0);
>
> I really don't like adding extra variables just for use in the assert.

In both functions, we already have a copy of dp[dn-1] in another variable.

Can you please try the attached patch?

Regards,
m

-- 
http://bodrato.it/toom-cook/binary/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mini-gmp.diff
Type: text/x-patch
Size: 993 bytes
Desc: not available
URL: <http://gmplib.org/list-archives/gmp-bugs/attachments/20130216/2eb4e1d8/attachment.bin>


More information about the gmp-bugs mailing list