Commit 334e71e8 by Jakub Jelinek Committed by Jakub Jelinek

re PR middle-end/56461 (GCC is leaking lots of memory)

	PR middle-end/56461
	* sched-deps.c (delete_dep_node): Free DEP_REPLACE.

From-SVN: r196467
parent 233fa360
2013-03-05 Jakub Jelinek <jakub@redhat.com>
PR middle-end/56461
* sched-deps.c (delete_dep_node): Free DEP_REPLACE.
2013-03-05 Richard Biener <rguenther@suse.de>
PR tree-optimization/56521
......
......@@ -352,6 +352,8 @@ delete_dep_node (dep_node_t n)
gcc_assert (dep_link_is_detached_p (DEP_NODE_BACK (n))
&& dep_link_is_detached_p (DEP_NODE_FORW (n)));
XDELETE (DEP_REPLACE (DEP_NODE_DEP (n)));
--dn_pool_diff;
pool_free (dn_pool, n);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment