This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r200909 - in /trunk/gcc: ChangeLog vec.h
- From: tejohnson at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 11 Jul 2013 21:32:14 -0000
- Subject: r200909 - in /trunk/gcc: ChangeLog vec.h
Author: tejohnson
Date: Thu Jul 11 21:32:14 2013
New Revision: 200909
URL: http://gcc.gnu.org/viewcvs?rev=200909&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/vec.h