summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2011-11-03 22:44:45 +0100
committerTorbjorn Granlund <tege@gmplib.org>2011-11-03 22:44:45 +0100
commitc7aa2d66f1403def399929e97347f16b4386550a (patch)
treebb8651685682f6c7cf9ccbd8d74e88fa0f825386
parentf64a1e744b5e0c511dd012a46bc5a845e901836e (diff)
downloadgmp-c7aa2d66f1403def399929e97347f16b4386550a.tar.gz
(mpz_sub): Abort for non-handled case.
-rw-r--r--dumbmp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dumbmp.c b/dumbmp.c
index 293580228..3292d6eec 100644
--- a/dumbmp.c
+++ b/dumbmp.c
@@ -421,6 +421,8 @@ mpz_sub (mpz_t r, mpz_t a, mpz_t b)
mp_limb_t *tp; int tn;
tn = an; an = bn; bn = tn;
tp = ap; ap = bp; bp = tp;
+ /* This needs sign change, not done so abort. */
+ abort ();
}
cy = 0;