This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Release RTL bodies after compilation (sometimes)
> On Tue, Sep 14, 2004 at 10:00:41PM +0200, Jan Hubicka wrote:
> > - if (!POINTER_TYPE_P (TREE_TYPE (name)))
> > + if (SSA_NAME_IN_FREE_LIST (name) || !POINTER_TYPE_P (TREE_TYPE (name)))
>
> If you're having to add this kind of check, it means that
> we've a serious conceptual problem elsewhere.
I think the conceptual problem is to keep ssa_names array pointing to
nodes in the freelist. I sent separate message about setting them to
NULL and re-initializing when node is recycled, but didn't get a reply.
If this sounds sanier, I will do this.
Anyway the function is definitly walking and analyzing dead statements
at least for SSA_NAMES we didn't explicitly released.
Honza
>
>
> r~