Commit 5ca8e744 by Jakub Jelinek Committed by Jakub Jelinek

re PR rtl-optimization/84308 (Memory leak in spread_components)

	PR rtl-optimization/84308
	* shrink-wrap.c (spread_components): Release todo vector.

From-SVN: r257544
parent 86a568a3
2018-02-10 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/84308
* shrink-wrap.c (spread_components): Release todo vector.
2018-02-09 Vladimir Makarov <vmakarov@redhat.com> 2018-02-09 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/57193 PR rtl-optimization/57193
......
...@@ -1370,6 +1370,8 @@ spread_components (sbitmap components) ...@@ -1370,6 +1370,8 @@ spread_components (sbitmap components)
bitmap_clear_bit (seen, bb->index); bitmap_clear_bit (seen, bb->index);
} }
todo.release ();
/* Finally, mark everything not not needed both forwards and backwards. */ /* Finally, mark everything not not needed both forwards and backwards. */
FOR_EACH_BB_FN (bb, cfun) FOR_EACH_BB_FN (bb, cfun)
......
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