This is the mail archive of the gcc@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: [tree-ssa] Merge results as of 2003-05-06


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


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