This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Merge results as of 2003-05-06
- From: Andrew MacLeod <amacleod at redhat dot com>
- To: Jeff Law <law at redhat dot com>
- Cc: Jason Merrill <jason at redhat dot com>,Diego Novillo <dnovillo at redhat dot com>,gcc mailing list <gcc at gcc dot gnu dot org>
- Date: 08 May 2003 08:56:11 -0400
- Subject: Re: [tree-ssa] Merge results as of 2003-05-06
- References: <200305080710.h487ANgP013327@speedy.slc.redhat.com>
On Thu, 2003-05-08 at 03:10, law@redhat.com wrote:
> In message <wvly91i53p6.fsf@prospero.boston.redhat.com>, Jason Merrill writes:
> >A simple solution may just be to disable all the temp_slots management code
> >when we're using the tree optimizers. A better solution would be to fix
> >the temp_slots data structure so that we don't keep slogging through the
> >whole list when we're only interested in slots from a particular level.
> Yup. We also want to eliminate the variables we don't actually use. Gimple
> likes to create lots of temporaries. Many of them can goaway as a result
> of our optimizers.
>
And we know when we rewrite out of SSA exactly which ones have been
used. In fact, the out_of_ssa_tag has been set on all variables which
are actually used in the function. Anything not set hasn't been
referenced.
Andrew