Commit d2b04f0b by Martin Liska Committed by Martin Liska

Fix memory leak in tree-if-conv.c

	* tree-if-conv.c (ifcvt_local_dce): Replace vec with auto_vec.

From-SVN: r231447
parent b0187578
2015-12-09 Martin Liska <mliska@suse.cz>
* tree-if-conv.c (ifcvt_local_dce): Replace vec with auto_vec.
2015-12-09 Martin Liska <mliska@suse.cz>
PR ipa/68790
* ipa-icf.c (sem_function::param_used_p): Return true
if ipa_node_params_sum equals to NULL.
......@@ -2550,7 +2550,7 @@ ifcvt_local_dce (basic_block bb)
gimple *stmt1;
gimple *phi;
gimple_stmt_iterator gsi;
vec<gimple *> worklist;
auto_vec<gimple *> worklist;
enum gimple_code code;
use_operand_p use_p;
imm_use_iterator imm_iter;
......
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