summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-04-07 16:44:38 +0000
committerRichard M. Stallman <rms@gnu.org>1996-04-07 16:44:38 +0000
commitd928736d013c7735459b6c0b3698018ecc495efc (patch)
tree3f72f1fc53f885547591e997c51ed06960b2a8ac /src
parent8bfe6c799f80433670cf0c517d439081790057b6 (diff)
downloademacs-d928736d013c7735459b6c0b3698018ecc495efc.tar.gz
(r_alloc_check): Don't check alignment of h->start.
Diffstat (limited to 'src')
-rw-r--r--src/ralloc.c4
1 files changed, 4 insertions, 0 deletions
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);