re PR middle-end/56461 (GCC is leaking lots of memory)
PR middle-end/56461 * ipa-pure-const.c (propagate): Use FOR_EACH_FUNCTION instead of FOR_EACH_DEFINED_FUNCTION when freeing state. From-SVN: r196322
This commit is contained in:
parent
e19624ee2a
commit
307f83a3e7
@ -1,5 +1,9 @@
|
||||
2013-02-27 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR middle-end/56461
|
||||
* ipa-pure-const.c (propagate): Use FOR_EACH_FUNCTION instead of
|
||||
FOR_EACH_DEFINED_FUNCTION when freeing state.
|
||||
|
||||
PR middle-end/56461
|
||||
* df-scan.c (df_insn_delete): Use df_scan_free_mws_vec before
|
||||
pool_free.
|
||||
|
@ -1479,7 +1479,7 @@ propagate (void)
|
||||
propagate_pure_const ();
|
||||
|
||||
/* Cleanup. */
|
||||
FOR_EACH_DEFINED_FUNCTION (node)
|
||||
FOR_EACH_FUNCTION (node)
|
||||
if (has_function_state (node))
|
||||
free (get_function_state (node));
|
||||
funct_state_vec.release ();
|
||||
|
Loading…
Reference in New Issue
Block a user