This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Cleanup/simplify memory.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]