tree-ssa-loop-im.c (tree_ssa_lim_finalize): Properly free the affine expansion cache.
authorRichard Guenther <rguenther@suse.de>
Tue, 21 Aug 2012 11:48:42 +0000 (11:48 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 21 Aug 2012 11:48:42 +0000 (11:48 +0000)
commitb6db991c9585c615212f7019484e6d288883ade0
tree1a86ea46dfeb996cb6319c790537e709944defa5
parent825c743c8705689b8c9541da47e201fd02f66cf6
tree-ssa-loop-im.c (tree_ssa_lim_finalize): Properly free the affine expansion cache.

2012-08-21  Richard Guenther  <rguenther@suse.de>

* tree-ssa-loop-im.c (tree_ssa_lim_finalize): Properly free
the affine expansion cache.
* tree-ssa-dom.c (free_expr_hash_elt_contents): New function,
split out from ...
(free_expr_hash_elt): ... this one.
(record_cond): Properly free a not needed hashtable element.
(lookup_avail_expr): Likewise.
* tree-into-ssa.c (init_ssa_renamer): Specify a free function
for the var_infos hashtable.
(update_ssa): Likewise.

From-SVN: r190560
gcc/ChangeLog
gcc/tree-into-ssa.c
gcc/tree-ssa-dom.c
gcc/tree-ssa-loop-im.c