This patch adds a call to ggc_free from va_gc::release, which is
commit182e7ecd2ac9099878157cbf7929f72390c9c9bb
authortejohnson <tejohnson@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Jul 2013 21:32:14 +0000 (11 21:32 +0000)
committertejohnson <tejohnson@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Jul 2013 21:32:14 +0000 (11 21:32 +0000)
treed76fb8801d882b05bf1c9285d1a89d33bf3b002e
parentfe14b54e0617feec230678af7ab5508a40e66061
This patch adds a call to ggc_free from va_gc::release, which is
called by vec_free. This restores the functionality of the old VEC_free
and reduces the memory footprint during compilation.

2013-07-11  Teresa Johnson  <tejohnson@google.com>

* vec.h (struct va_gc): Move release out-of-line.
(va_gc::release): Call ggc_free on released vec.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200909 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/vec.h