From: David Malcolm Date: Wed, 19 Nov 2014 20:21:19 +0000 (+0000) Subject: PR jit/63854: lra.c: Fix leak of point_freq_vec's buffer when calling lra_inheritance X-Git-Tag: upstream/12.2.0~58752 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8f047f6c3c560f7de58a7abd03d0a39a33f10155;p=platform%2Fupstream%2Fgcc.git PR jit/63854: lra.c: Fix leak of point_freq_vec's buffer when calling lra_inheritance gcc/ChangeLog: PR jit/63854 * lra.c (lra): After creating live ranges in preparation for call to lra_inheritance, set live_p to true. From-SVN: r217806 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9cb1ebd..e27adca 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,6 +1,12 @@ 2014-11-19 David Malcolm PR jit/63854 + * lra.c (lra): After creating live ranges in preparation for call + to lra_inheritance, set live_p to true. + +2014-11-19 David Malcolm + + PR jit/63854 * tree-ssa-threadedge.c (thread_across_edge): Don't just release "path", delete it. * tree-ssa-threadupdate.c (delete_jump_thread_path): Likewise. diff --git a/gcc/lra.c b/gcc/lra.c index 9309d5e..ec122c7 100644 --- a/gcc/lra.c +++ b/gcc/lra.c @@ -2297,6 +2297,7 @@ lra (FILE *f) actual_call_used_reg_set, which is needed during lra_inheritance. */ lra_create_live_ranges (true, true); + live_p = true; } lra_inheritance (); }