summaryrefslogtreecommitdiff
path: root/mini-gmp/ChangeLog
diff options
context:
space:
mode:
authorNiels M?ller <nisse@lysator.liu.se>2020-04-26 19:49:19 +0200
committerNiels M?ller <nisse@lysator.liu.se>2020-04-26 19:49:19 +0200
commit26d1319c59c216dc7d24ed4d1140867c379b3ca4 (patch)
treeace490d7a305f258cfd4c124e7d9fb86166d958e /mini-gmp/ChangeLog
parent96b35cb3bf61d7883d67e42c1a796513abdd5082 (diff)
downloadgmp-26d1319c59c216dc7d24ed4d1140867c379b3ca4.tar.gz
mini-gmp.c: Make LOCAL_SHIFT_BITS unsigned, to avoid signed/unsigned comparison.
Diffstat (limited to 'mini-gmp/ChangeLog')
-rw-r--r--mini-gmp/ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/mini-gmp/ChangeLog b/mini-gmp/ChangeLog
index 8c235133d..e95c796ac 100644
--- a/mini-gmp/ChangeLog
+++ b/mini-gmp/ChangeLog
@@ -1,3 +1,12 @@
+2020-04-26 Niels Möller <nisse@lysator.liu.se>
+
+ * mini-gmp.c (gmp_clz): Make LOCAL_SHIFT_BITS unsigned, to avoid
+ signed/unsigned comparison. Also add a prefix to the name, since
+ this is a macro. Similar change to other LOCAL_* variables for
+ consistency. That these variables are used at all is a workaround
+ to avoid unhelpful compiler warnings, see
+ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94773.
+
2020-04-20 Niels Möller <nisse@lysator.liu.se>
* mini-gmp.c (mpz_fits_slong_p): Simplify, by using mpz_cmp_si.