[PATCH] Cleanup/simplify memory.c
Steven Bosscher
stevenb@suse.de
Sat Oct 1 10:47:00 GMT 2005
On Saturday 01 October 2005 12:29, Jakub Jelinek wrote:
> 2005-10-01 Jakub Jelinek <jakub@redhat.com>
>
> * runtime/memory.c (malloc_t): Remove.
> (GFC_MALLOC_MAGIC, HEADER_SIZE, DATA_POINTER, DATA_HEADER): Remove.
> (mem_root, runtime_cleanup, malloc_with_header): Remove.
> (internal_malloc_size): Use just get_mem if size != 0, return NULL
> otherwise.
> (internal_free): Just free if non-NULL.
> (internal_realloc_size): Remove debugging stuff.
> (allocate_size): Use malloc directly, remove debugging stuff.
> (deallocate): Use free directly, fix error message wording.
This is also OK.
You like pushing stage3 boundaries, don't you? ;-)
Gr.
Steven
More information about the Fortran
mailing list