summaryrefslogtreecommitdiff
path: root/tune
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2001-09-23 01:33:51 +0200
committerKevin Ryde <user42@zip.com.au>2001-09-23 01:33:51 +0200
commit5393c86249e9deb3dfbfe1548f2e51fd4d7ce97f (patch)
tree35ff8ea23d27eac82ce75dbf8c0b3c940f309a1c /tune
parent9b99bcb6e51ba7d80fb5522351087e5df99d0168 (diff)
downloadgmp-5393c86249e9deb3dfbfe1548f2e51fd4d7ce97f.tar.gz
Correction to:
* tune/speed.h (SPEED_ROUTINE_MPN_MOD_CALL, SPEED_ROUTINE_MPN_PREINV_MOD_1, SPEED_ROUTINE_MPN_POPCOUNT, SPEED_ROUTINE_MPN_HAMDIST, SPEED_ROUTINE_MPN_GCD_1N, SPEED_ROUTINE_MPN_GCD_1_CALL, SPEED_ROUTINE_MPZ_JACOBI): Use return values so gcc 3 won't discard calls to pure or const functions. (mpn_mod_1_div, mpn_mod_1_inv): Add __GMP_ATTRIBUTE_PURE.
Diffstat (limited to 'tune')
-rw-r--r--tune/speed.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tune/speed.h b/tune/speed.h
index 8439fcf68..bf3728dfe 100644
--- a/tune/speed.h
+++ b/tune/speed.h
@@ -1218,8 +1218,8 @@ int speed_routine_count_zeros_setup _PROTO ((struct speed_params *s,
mp_ptr xp; \
unsigned i; \
double t; \
- TMP_DECL (marker); \
mp_limb_t dummy = 0; \
+ TMP_DECL (marker); \
\
SPEED_RESTRICT_COND (s->size >= 1); \
SPEED_RESTRICT_COND (s->r != 0); \