diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-04-09 09:04:31 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-04-09 09:04:31 -0700 |
commit | 405e7884dd00bfdac508d93851d898b5f7d5e4e1 (patch) | |
tree | 4017912bd763d3d750de4ea5b391ee45d8a28db6 /ChangeLog | |
parent | 1928aa26ceab8601049565a9064d68ff76dc25c3 (diff) | |
download | txr-405e7884dd00bfdac508d93851d898b5f7d5e4e1.tar.gz txr-405e7884dd00bfdac508d93851d898b5f7d5e4e1.tar.bz2 txr-405e7884dd00bfdac508d93851d898b5f7d5e4e1.zip |
* mpi-patches/add-mp-hash (mp_hash): Fix incorrect
code on platforms where mp_digit is smaller than long.
This was left shifting a mp_digit by MP_DIGIT_BIT.
It was found by compiling on NetBSD with a gcc 4.1.3
which has a broken__int128_t, forcing us to use 32 bit
mp_digit with a 64 bit mp_word.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,12 @@ +2012-04-09 Kaz Kylheku <kaz@kylheku.com> + + * mpi-patches/add-mp-hash (mp_hash): Fix incorrect + code on platforms where mp_digit is smaller than long. + This was left shifting a mp_digit by MP_DIGIT_BIT. + It was found by compiling on NetBSD with a gcc 4.1.3 + which has a broken__int128_t, forcing us to use 32 bit + mp_digit with a 64 bit mp_word. + 2012-04-08 Kaz Kylheku <kaz@kylheku.com> * arith.c (bignum): Previously static function now exposed as external. |