Re: [PATCH] Invoke ggc_free to free vec being released

2013-07-11 Thread Diego Novillo
On Thu, Jul 11, 2013 at 2:24 PM, Teresa Johnson wrote: > 2013-07-11 Teresa Johnson > > * vec.h (struct va_gc): Move release out-of-line. > (va_gc::release): Call ggc_free on released vec. OK. Thanks. Diego.

[PATCH] Invoke ggc_free to free vec being released

2013-07-11 Thread Teresa Johnson
This patch adds a call to ggc_free from va_gc::release, which is called by vec_free. This was a regression from the old VEC_free implementation and reduces the memory footprint during compilation. Bootstrapped and tested on x86_64-unknown-linux-gnu. Ok for trunk? 2013-07-11 Teresa Johnson