aboutsummaryrefslogtreecommitdiffstats
path: root/bench
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-04-29 21:54:39 +0200
committerMattias Andrée <maandree@kth.se>2016-04-29 21:55:15 +0200
commit4bba6e7176632b4d760ba9362a1515552471d741 (patch)
treeedd86d32b0867990bf953568164800391b769589 /bench
parentrefsheet: fix type of second parameter for zseti, zsetu, zcmpi, and zcmpu (diff)
downloadlibzahl-4bba6e7176632b4d760ba9362a1515552471d741.tar.gz
libzahl-4bba6e7176632b4d760ba9362a1515552471d741.tar.bz2
libzahl-4bba6e7176632b4d760ba9362a1515552471d741.tar.xz
Some optimisations, fix refsheet, and disable const/pure attributes in gmp in benchmark
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'bench')
-rw-r--r--bench/libgmp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bench/libgmp.h b/bench/libgmp.h
index de59602..7b5e1c8 100644
--- a/bench/libgmp.h
+++ b/bench/libgmp.h
@@ -1,3 +1,5 @@
+#define __GMP_NO_ATTRIBUTE_CONST_PURE
+
#include <gmp.h>
#include <setjmp.h>