Commit 3b56f890 by David Malcolm Committed by David Malcolm

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
parent 79cafc7a
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
* dwarf2out.c (dwarf2out_c_finalize): Free producer_string.
2014-11-19 David Malcolm <dmalcolm@redhat.com>
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment