This is the mail archive of the gcc-patches@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: Variadic templates, fourth revision [Committed]


On 3/13/07, Jan Hubicka <jh@suse.cz> 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...

 Cheers,
 Doug


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