This patch adds a call to ggc_free from va_gc::release, which is called by vec_free.
authorTeresa Johnson <tejohnson@google.com>
Thu, 11 Jul 2013 21:32:14 +0000 (21:32 +0000)
committerTeresa Johnson <tejohnson@gcc.gnu.org>
Thu, 11 Jul 2013 21:32:14 +0000 (21:32 +0000)
commit7b24b675378a69ff254e4a4b5faa3615d4abd84d
treed76fb8801d882b05bf1c9285d1a89d33bf3b002e
parent85d4cbb878c645fbb76838f228ac24cd4c898212
This patch adds a call to ggc_free from va_gc::release, which is called by vec_free.

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.

From-SVN: r200909
gcc/ChangeLog
gcc/vec.h