re PR middle-end/56461 (GCC is leaking lots of memory)
PR middle-end/56461 * tree-vect-stmts.c (vect_create_vectorized_promotion_stmts): Call vec_oprnds0->release (); rather than vec_oprnds0->truncate (0) before overwriting it. From-SVN: r196393
This commit is contained in:
parent
73e0b984b3
commit
689eaba322
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2013-03-01 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR middle-end/56461
|
||||
* tree-vect-stmts.c (vect_create_vectorized_promotion_stmts): Call
|
||||
vec_oprnds0->release (); rather than vec_oprnds0->truncate (0)
|
||||
before overwriting it.
|
||||
|
||||
2013-03-01 Tobias Burnus <burnus@net-b.de>
|
||||
|
||||
* doc/extended.texi (C Extensions): Change order in @menu
|
||||
|
|
|
@ -2269,7 +2269,7 @@ vect_create_vectorized_promotion_stmts (vec<tree> *vec_oprnds0,
|
|||
vec_tmp.quick_push (new_tmp2);
|
||||
}
|
||||
|
||||
vec_oprnds0->truncate (0);
|
||||
vec_oprnds0->release ();
|
||||
*vec_oprnds0 = vec_tmp;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue