Fix memory leak in tree-if-conv.c
* tree-if-conv.c (ifcvt_local_dce): Replace vec with auto_vec. From-SVN: r231447
This commit is contained in:
parent
b018757801
commit
d2b04f0b7b
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue