diff options
author | Nicolas Koenig <koenigni@student.ethz.ch> | 2021-10-28 22:41:40 +0200 |
---|---|---|
committer | Nicolas Koenig <koenigni@student.ethz.ch> | 2021-10-28 22:41:40 +0200 |
commit | 9fc240973e79d797bd5a5bdcbc8d0affa3e5a08a (patch) | |
tree | 695062c219f0c29cbf38fbd577f7b5fdb8adb50c /libgfortran/caf_shared/allocator.c | |
parent | 8df87c9e2c0a31c669625c4942d09b03d36c73e9 (diff) | |
download | gcc-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.c | 1 |
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; } |