1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 08:43:40 -07:00

Platform alignment is 16 on w3i6mv, so use mps_pf_align to avoid alignment failure.

Copied from Perforce
 Change: 192456
 ServerID: perforce.ravenbrook.com
This commit is contained in:
Gareth Rees 2016-09-26 16:13:39 +01:00
parent d44d50dfd0
commit 31db2e055c

View file

@ -37,8 +37,8 @@ static void test(void)
for (p=0; p<ITERATE; p++) {
die(mps_alloc(&q, pool, PROMISE*1024), "alloc");
q = (mps_addr_t) ((char *) q + 8);
mps_free(pool, q, PROMISE*1024-8);
q = (mps_addr_t) ((char *) q + MPS_PF_ALIGN);
mps_free(pool, q, PROMISE*1024-MPS_PF_ALIGN);
report("promise", "%i", p);
}