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
This commit is contained in:
parent
233fa36063
commit
334e71e822
|
@ -1,3 +1,8 @@
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue