diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-07-22 18:47:17 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-07-22 18:47:17 +0000 |
commit | 267001d77c9e04699c7a4055592c8777329dfdd3 (patch) | |
tree | 2ca81859423c531f088fcd64fd22b70260c9819f /gcc/var-tracking.c | |
parent | dc25136458c7c8174e6a58cb441f41a2022bbbd8 (diff) | |
download | gcc-267001d77c9e04699c7a4055592c8777329dfdd3.tar.gz |
PR debug/49815
* var-tracking.c (vt_finalize): Always free windowed_parm_regs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176647 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/var-tracking.c')
-rw-r--r-- | gcc/var-tracking.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/var-tracking.c b/gcc/var-tracking.c index d5a45483ab7..56f698391b7 100644 --- a/gcc/var-tracking.c +++ b/gcc/var-tracking.c @@ -9135,9 +9135,10 @@ vt_finalize (void) cselib_finish (); BITMAP_FREE (scratch_regs); scratch_regs = NULL; - VEC_free (parm_reg_t, gc, windowed_parm_regs); } + VEC_free (parm_reg_t, gc, windowed_parm_regs); + if (vui_vec) XDELETEVEC (vui_vec); vui_vec = NULL; |