diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2011-07-22 18:47:17 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2011-07-22 18:47:17 +0000 |
commit | 8b9b22755b5c98bfe292f3cf73bba6c53acc47c9 (patch) | |
tree | 2ca81859423c531f088fcd64fd22b70260c9819f | |
parent | fcb21722028937ea297b52f2ec3ffbcc8f49d163 (diff) | |
download | gcc-8b9b22755b5c98bfe292f3cf73bba6c53acc47c9.zip gcc-8b9b22755b5c98bfe292f3cf73bba6c53acc47c9.tar.gz gcc-8b9b22755b5c98bfe292f3cf73bba6c53acc47c9.tar.bz2 |
re PR debug/49815 (ICE in cselib_record_set, at cselib.c:2241 compiling 64-bit libjava on SPARC)
PR debug/49815
* var-tracking.c (vt_finalize): Always free windowed_parm_regs.
From-SVN: r176647
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/var-tracking.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6ec4ecd..718291b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-07-22 Eric Botcazou <ebotcazou@adacore.com> + + PR debug/49815 + * var-tracking.c (vt_finalize): Always free windowed_parm_regs. + 2011-07-22 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386.c (ix86_option_override_internal): Disallow diff --git a/gcc/var-tracking.c b/gcc/var-tracking.c index d5a4548..56f6983 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; |