[Bug middle-end/54313] [4.8 Regression] GCC fails to bootstrap with MALLOC_PERTURB – Segfault in bitmap_obstack_free

2012-08-18 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54313

Steven Bosscher  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #3 from Steven Bosscher  2012-08-18 
10:36:20 UTC ---
.


[Bug middle-end/54313] [4.8 Regression] GCC fails to bootstrap with MALLOC_PERTURB – Segfault in bitmap_obstack_free

2012-08-18 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54313

--- Comment #2 from Steven Bosscher  2012-08-18 
10:35:41 UTC ---
Author: steven
Date: Sat Aug 18 10:35:36 2012
New Revision: 190502

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190502
Log:
PR middle-end/54313
* dse.c (dse_step7): Don't free kill_on_calls bitmap, it is
freed when its obstack is release.


Modified:
trunk/gcc/ChangeLog
trunk/gcc/dse.c


[Bug middle-end/54313] [4.8 Regression] GCC fails to bootstrap with MALLOC_PERTURB – Segfault in bitmap_obstack_free

2012-08-18 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54313

Steven Bosscher  changed:

   What|Removed |Added

   Keywords||patch
 Status|UNCONFIRMED |NEW
URL||http://gcc.gnu.org/ml/gcc-p
   ||atches/2012-08/msg01240.htm
   ||l
   Last reconfirmed||2012-08-18
 Ever Confirmed|0   |1

--- Comment #1 from Steven Bosscher  2012-08-18 
10:31:44 UTC ---
One of the bitmap is BITMAP_FREE'd when its obstack is already released.