diff options
| author | gingerBill <bill@gingerbill.org> | 2021-07-10 23:51:37 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-07-10 23:51:37 +0100 |
| commit | d9e6ade03007f4ede6471a6ada23b2469e2f052d (patch) | |
| tree | ef13bc1d0b2b547abb3403c1f0e48226910c6ecc /src/big_int.cpp | |
| parent | 690374d4dec42365fd28cd6f9f1361697fdd7b9f (diff) | |
Add experimental support for a threaded semantic checker to `-threaded-checker`
Diffstat (limited to 'src/big_int.cpp')
| -rw-r--r-- | src/big_int.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/big_int.cpp b/src/big_int.cpp index 9e57b3fc2..168e53fb2 100644 --- a/src/big_int.cpp +++ b/src/big_int.cpp @@ -587,7 +587,9 @@ void big_int_add(BigInt *dst, BigInt const *x, BigInt const *y) { } } - GB_ASSERT(overflow == 0); + if (overflow != 0) { + GB_ASSERT_MSG(overflow == 0, "%p %p %p", dst, x, y); + } dst->len = i; big_int_normalize(dst); return; |