On Mon, Aug 22, 2011 at 9:46 AM, Dimitrios Apostolou <ji...@gmx.net> wrote: > > 2011-08-22 Dimitrios Apostolou <ji...@gmx.net> > > * tree-ssa-structalias.c (equiv_class_add) > (perform_var_substitution, free_var_substitution_info): Created a > new equiv_class_pool allocator pool for struct > equiv_class_label. Changed the pointer_equiv_class_table and > location_equiv_class_table hash tables to not iterate freeing all > elements in the end, but just free the pool.
Did you check if the hash functions have ever called free()? If so why not use the pool free function so that entries can get re-used? If not, the natural allocator would be an obstack instead. Richard. > >