This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Variadic templates, fourth revision [Committed]


On 3/11/07, Doug Gregor <doug.gregor@gmail.com> wrote:
On 3/11/07, Richard Guenther <richard.guenther@gmail.com> wrote:
> Yes, thanks.  But what confuses me is that only mmap/sbrk memory usage
> went up (see also the report from the memory tester,
> http://gcc.gnu.org/ml/gcc-regression/2007-03/msg00004.html on geralds
> testcase) but not GC memory usage.  Are any of the above mentioned
> structures heap-allocated?  If not there might be a leak somewhere...

Declarators come from the declarator_obstack (see alloc_declarator in
cp/parser.c), so they won't show up in the GC...

TEMPLATE_PARM_INDEX's might not be common enough in your test case to matter?

I don't know - I guess we'll see if we fix those two cases if the memory usage goes back down.

Richard.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]