summaryrefslogtreecommitdiff
path: root/libgfortran/caf_shared/allocator.c
diff options
context:
space:
mode:
authorNicolas Koenig <koenigni@student.ethz.ch>2021-10-28 22:41:40 +0200
committerNicolas Koenig <koenigni@student.ethz.ch>2021-10-28 22:41:40 +0200
commit9fc240973e79d797bd5a5bdcbc8d0affa3e5a08a (patch)
tree695062c219f0c29cbf38fbd577f7b5fdb8adb50c /libgfortran/caf_shared/allocator.c
parent8df87c9e2c0a31c669625c4942d09b03d36c73e9 (diff)
downloadgcc-devel/coarray_native.tar.gz
Only allocate a single chunk of memory on startup.devel/coarray_native
Diffstat (limited to 'libgfortran/caf_shared/allocator.c')
-rw-r--r--libgfortran/caf_shared/allocator.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libgfortran/caf_shared/allocator.c b/libgfortran/caf_shared/allocator.c
index e31b66a807e..690590cc47d 100644
--- a/libgfortran/caf_shared/allocator.c
+++ b/libgfortran/caf_shared/allocator.c
@@ -68,7 +68,6 @@ shared_malloc (allocator *a, size_t size)
ret = a->s->free_bucket_head[bucket_list_index];
a->s->free_bucket_head[bucket_list_index]
= (SHMPTR_AS (bucket *, ret, a->shm)->next);
- assert (ret.offset != 0);
return ret;
}