From d9e6ade03007f4ede6471a6ada23b2469e2f052d Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sat, 10 Jul 2021 23:51:37 +0100 Subject: Add experimental support for a threaded semantic checker to `-threaded-checker` --- src/big_int.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/big_int.cpp') 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; -- cgit v1.2.3