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
commit40f3f04b977a4ba1c43f0847a5643013745a3cfc (patch)
tree91c97fc60c11b9857d10b137e47ce9d11542cbe0 /src
parent748dc60a0ec333b98876303c14c102f2642a23dd (diff)
downloademacs-40f3f04b977a4ba1c43f0847a5643013745a3cfc.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);