Another memory leak in vectorizable_store
Similar to the last one. * tree-vect-stmts.cc (vectorizable_store): Do not pre-allocate operands vector.
This commit is contained in:
parent
569ebd6bdd
commit
d190a5553a
1 changed files with 1 additions and 1 deletions
|
@ -8542,7 +8542,7 @@ vectorizable_store (vec_info *vinfo,
|
|||
|
||||
alias_off = build_int_cst (ref_type, 0);
|
||||
stmt_vec_info next_stmt_info = first_stmt_info;
|
||||
auto_vec<tree> vec_oprnds (ncopies);
|
||||
auto_vec<tree> vec_oprnds;
|
||||
/* For costing some adjacent vector stores, we'd like to cost with
|
||||
the total number of them once instead of cost each one by one. */
|
||||
unsigned int n_adjacent_stores = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue