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] Garbage collector x bb annotations


Daniel Berlin <dberlin@dberlin.org> writes:

> >> They used to be obstack allocated, so consider yourself lucky :P.
> >>
> >> You could add a "fields_only" flag and modify gengtype to not mark the
> >> actual bb, only it's fields.
> >
> > This won't work, since bb structures refer to each other.
> >
> So?
> 
> If a bb is marked fields_only, and we recursively call the marker
> routine on the next bb, it's still not going to try to mark that bb.

You'll get infinite recursion.

-- 
- Geoffrey Keating <geoffk@geoffk.org>


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