This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] more bitmap obstacks
On Sat, Aug 18, 2012 at 12:28 PM, Steven Bosscher <stevenb.gcc@gmail.com> wrote:
> On Sat, Aug 18, 2012 at 12:21 PM, Tobias Burnus <burnus@net-b.de> wrote:
>> I filled a small bug report at
>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54313
>
> Yup, thanks.
>
> * dse.c (dse_step7): Don't free kill_on_calls bitmap, it is
> freed when its obstack is release.
Looks obvious.
> Index: dse.c
> ===================================================================
> --- dse.c (revision 190475)
> +++ dse.c (working copy)
> @@ -3823,7 +3823,6 @@ dse_step7 (void)
> VEC_free (group_info_t, heap, rtx_group_vec);
> BITMAP_FREE (all_blocks);
> BITMAP_FREE (scratch);
> - BITMAP_FREE (kill_on_calls);
>
> free_alloc_pool (rtx_store_info_pool);
> free_alloc_pool (read_info_pool);