PR jit/63854: Fix leak of "avail" within tree-ssa-pre.c
gcc/ChangeLog: PR jit/63854 * tree-ssa-pre.c (do_regular_insertion): Convert "avail" from vec<> to auto_vec<> to fix a leak. From-SVN: r217803
This commit is contained in:
parent
79cafc7ae4
commit
3b56f890da
@ -1,3 +1,9 @@
|
||||
2014-11-19 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
PR jit/63854
|
||||
* tree-ssa-pre.c (do_regular_insertion): Convert "avail" from
|
||||
vec<> to auto_vec<> to fix a leak.
|
||||
|
||||
2014-11-19 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
PR jit/63854
|
||||
|
@ -3202,7 +3202,7 @@ do_regular_insertion (basic_block block, basic_block dom)
|
||||
bool new_stuff = false;
|
||||
vec<pre_expr> exprs;
|
||||
pre_expr expr;
|
||||
vec<pre_expr> avail = vNULL;
|
||||
auto_vec<pre_expr> avail;
|
||||
int i;
|
||||
|
||||
exprs = sorted_array_from_bitmap_set (ANTIC_IN (block));
|
||||
|
Loading…
x
Reference in New Issue
Block a user