This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Allow next field to point to the same field
- From: law at redhat dot com
- To: Jan Hubicka <jh at suse dot cz>
- Cc: Jan Hubicka <hubicka at ucw dot cz>, Daniel Berlin <dberlin at dberlin dot org>, gcc-patches at gcc dot gnu dot org, rth at redhat dot com
- Date: Mon, 01 Dec 2003 21:32:32 -0700
- Subject: Re: [tree-ssa] Allow next field to point to the same field
- Reply-to: law at redhat dot com
In message <20031129150508.GD6442@kam.mff.cuni.cz>, Jan Hubicka writes:
>> Concerning this particular patch, while looking into the code I am
>> getting to believe that I've just worked around bug I fixed later. Once
>> I am done with the other patches, I will give ggc_collect a try and
>> return to it if still fails.
>> For double linked lists the situation is somewhat different...
>OK, got it :)
>
>the problem is when linked chain ends up by node linking to itself.
OK.
> In current scheme, the xlimit does not point to first element we don't
> point to first already visited element, but to the last element we
> should visit.
Huh. Sorry, but I simply can't parse that sentence.
Can you try to state it again?
And just for clarity, can you state what the code is trying to do right
now (it unfortunately isn't commented well) and how your patch changes
the behavior. It would help a lot in trying to understand what's going
on and whether or not the behavior we're seeing is correct.
jeff