Commit 6ec71e82 authored by Philipp Stephani's avatar Philipp Stephani

* src/alloc.c (mark_maybe_object): Make overflow check conditional.

parent fce47c93
Pipeline #6192 failed with stage
in 66 minutes and 8 seconds
......@@ -4643,7 +4643,13 @@ mark_maybe_object (Lisp_Object obj)
bool overflow
= INT_SUBTRACT_WRAPV (offset, LISP_WORD_TAG (type_tag), &offset);
#if !defined WIDE_EMACS_INT || USE_LSB_TAG
/* If we don't use wide integers, then `intptr_t' should always be
large enough to not overflow. Furthermore, when using the least
significant bits as tag bits, the tag is small enough to not
overflow either. */
eassert (!overflow);
void *po = (char *) ((intptr_t) (char *) XLP (obj) + offset);
/* If the pointer is in the dump image and the dump has a record
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment