Fix memory leak in tree-if-conv.c
* tree-if-conv.c (ifcvt_repair_bool_pattern): Utilize auto_vecs. From-SVN: r236470
This commit is contained in:
parent
7f153d8202
commit
f6b8cbb70e
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2016-05-19 Martin Liska <mliska@suse.cz>
|
||||
|
||||
* tree-if-conv.c (ifcvt_repair_bool_pattern): Utilize auto_vecs.
|
||||
|
||||
2016-05-19 Martin Liska <mliska@suse.cz>
|
||||
|
||||
* ipa-pure-const.c (set_function_state): Remove an existing
|
||||
|
|
|
@ -2651,8 +2651,8 @@ ifcvt_repair_bool_pattern (basic_block bb)
|
|||
tree rhs;
|
||||
gimple *stmt;
|
||||
gimple_stmt_iterator gsi;
|
||||
vec<gimple *> defuse_list = vNULL;
|
||||
vec<gimple *> pattern_roots = vNULL;
|
||||
auto_vec<gimple *> defuse_list;
|
||||
auto_vec<gimple *> pattern_roots;
|
||||
bool repeat = true;
|
||||
int niter = 0;
|
||||
unsigned int ix;
|
||||
|
|
Loading…
Add table
Reference in a new issue