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] Memory usage in compute_immediate_uses


On Tue, 2003-09-16 at 16:44, law@redhat.com wrote:
> In message <1063744206.7313.50.camel@frodo.toronto.redhat.com>, Diego Novillo w
> rites:
>  >On Tue, 2003-09-16 at 16:26, Daniel Berlin wrote:
>  >> On Tue, 16 Sep 2003, Diego Novillo wrote:
>  >>
>  >> > Another thing we could use is ggc_collect() after each pass through
>  >> > optimize_function_tree().
>  >> 
>  >> Have you tried to see if this works right now?
>  >> 
>  >Yup.  The other day, when I ran into that GC problem with the vops
>  >varrays, I had it collecting after every single pass.  It seemed to
>  >work.
> Hey -- want to comment on this?  Is whatever fix you came up with in
> the tree already?
> 
Yes.  I committed it about 10 days ago.

It amounted to not lying to GC with the voperand arrays.  Now that I
read my posting again, I really didn't comment on the problem I was
having.  Essentially the call to ggc_collect() done inside PRE was
zapping virtual operands that we were actually still using.  The problem
went away with this patch:

http://gcc.gnu.org/ml/gcc-patches/2003-09/msg00356.html

I was the only one having that problem.  At the time I thought it was
something I was messing up with other patches I had in my tree.


Diego.


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