From 8f047f6c3c560f7de58a7abd03d0a39a33f10155 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Wed, 19 Nov 2014 20:21:19 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/lra.c | 1 + 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9cb1ebd9d45..e27adcadc45 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +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 diff --git a/gcc/lra.c b/gcc/lra.c index 9309d5e44c2..ec122c7762f 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 (); } -- 2.30.2