This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Make PHI nodes reachable by GGC
On Sat, Nov 29, 2003 at 01:11:14AM +0100, Jan Hubicka wrote:
> We have no way to expose the fact that there are multiple linked lists
> per node, so we probably need some extension to deal with this more
> nicely.
When do we need this?
Iteration should begin with the bb->next list. Now all blocks are
marked (but not their subobjects). Next, we begin marking subobjects
of blocks, namely edges. Choose the next link associated with the
edge list that will be traversed first. That is, if we mark bb->prev
first, then make bb->prev_next the next link.
I would expect this to take care of the bulk of the problem. Failing
that, extend gengtype to handle multiple next links. Shouldn't be hard.
r~