This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ggc_free, take 2
- From: law at redhat dot com
- To: Richard Henderson <rth at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 29 Jan 2004 11:03:04 -0700
- Subject: Re: ggc_free, take 2
- Reply-to: law at redhat dot com
In message <20040128185036.GA29950@redhat.com>, Richard Henderson writes:
>It now passes, both with and without gcac, so comitted.
>
>
>r~
>
>
> * ggc.h (ggc_free): Declare.
> * ggc-common.c (ggc_realloc): Use it.
> * ggc-page.c: Remove lots of inline markers.
> (globals): Add free_object_list.
> (ggc_alloc): Tidy.
> (ggc_free, validate_free_objects): New.
> (poison_pages): Provide default.
> (ggc_collect): Call validate_free_objects; emit markers to
> the debug file.
FWIW, I've pulled this into the tree-ssa branch rather than waiting for
the next merge.
jeff