This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: SSA_NAMEs not always released
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: gcc mailing list <gcc at gcc dot gnu dot org>
- Date: Wed, 24 Aug 2005 18:28:37 -0400
- Subject: Re: SSA_NAMEs not always released
- References: <7972889cc216524503e2bc58195f64a4@physics.uc.edu>
> If we take this after DCE, we still refer to a statement which no longer
> exists which we don't collect in the GC.
As i said when i pointed this out to you, we should probably skip
walking common.chain on SSA_NAME.
But that's non-trivial hard because it's a reused field :(
>
> Could someone look into this and see what they can do?
You should probably ask Diego or Andrew directly whether they'd like us
to do this in bsi_remove (which requires adding an argument) and
remove_phi_node(ditto) so that a lot less has to worry about releasing
defs.
> This will
> improve
> memory usage in GCC and also there will be more SSA_NAME reuse which is
> good.
>
> Thanks,
> Andrew Pinsk
>
>
>
>