mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-07 12:20:39 -08: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:
parent
afbc6e32d7
commit
5f3e5f5ed3
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue