This is the mail archive of the
mailing list for the GCC project.
Re: Variadic templates, fourth revision [Committed]
On 3/13/07, Jan Hubicka <email@example.com> wrote:
> (I wonder if using pointer-set's is worth it at all for walk_tree to
> avoid walking
> duplicates in all cases)
Looks also like those are good candidates for
walk_tree_without_duplicates that does the neccesary freeing.
We need to use walk_tree, because the pointer set needs to be shared
across unrelated walk_tree calls in some cases.
Of course, I should *free* those pointer sets :)
Thanks, Richard, for pointing out the problem. Patch coming...