re PR middle-end/54313 (GCC fails to bootstrap with MALLOC_PERTURB – Segfault in bitmap_obstack_free)

PR middle-end/54313
	* dse.c (dse_step7): Don't free kill_on_calls bitmap, it is
	freed when its obstack is release.

From-SVN: r190502
This commit is contained in:
Steven Bosscher 2012-08-18 10:35:36 +00:00
parent 32b2d8f3a6
commit e0de76d8ad
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2012-08-18 Steven Bosscher <steven@gcc.gnu.org>
PR middle-end/54313
* dse.c (dse_step7): Don't free kill_on_calls bitmap, it is
freed when its obstack is release.
2012-08-18 Andrew Pinski <pinskia@gmail.com>
* alloc-pool.c (pool_alloc): Add valgrind markers.

View File

@ -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);