Re: [patch] plug mem leak in gcse

2011-03-28 Thread Richard Guenther
On Mon, Mar 28, 2011 at 3:29 PM, Steven Bosscher wrote: > Hi, > > The bitmap reg_set_bitmap is allocated in alloc_gcse_mem, but it is > never freed. The foul smell of a mem leak... > > Plugged thus. Bootstrapped&tested on x86_64-unknown-linux-gnu. OK for trunk? Ok. Thanks, Richard. > Ciao! > St

[patch] plug mem leak in gcse

2011-03-28 Thread Steven Bosscher
Hi, The bitmap reg_set_bitmap is allocated in alloc_gcse_mem, but it is never freed. The foul smell of a mem leak... Plugged thus. Bootstrapped&tested on x86_64-unknown-linux-gnu. OK for trunk? Ciao! Steven * gcse.c (free_gcse_mem): Free reg_set_bitmap. Index: gcse.c =