summaryrefslogtreecommitdiff
path: root/src/ralloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ralloc.c')
-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);