From 40f3f04b977a4ba1c43f0847a5643013745a3cfc Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 7 Apr 1996 16:44:38 +0000 Subject: [PATCH] (r_alloc_check): Don't check alignment of h->start. --- src/ralloc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ralloc.c b/src/ralloc.c index dca5c2c6004..179fd314928 100644 --- a/src/ralloc.c +++ b/src/ralloc.c @@ -1164,7 +1164,11 @@ r_alloc_check () { assert (h->prev == ph); assert ((POINTER) ROUNDUP (h->end) == h->end); +#if 0 /* ??? The code in ralloc.c does not really try to ensure + the heap start has any sort of alignment. + Perhaps it should. */ assert ((POINTER) MEM_ROUNDUP (h->start) == h->start); +#endif assert ((POINTER) MEM_ROUNDUP (h->bloc_start) == h->bloc_start); assert (h->start <= h->bloc_start && h->bloc_start <= h->end); -- 2.39.2