Variadic templates, fourth revision [Committed]

Richard Guenther
Mon Mar 12 10:40:00 GMT 2007

On 3/11/07, Doug Gregor <> wrote:
> On 3/11/07, Richard Guenther <> wrote:
> > Yes, thanks.  But what confuses me is that only mmap/sbrk memory usage
> > went up (see also the report from the memory tester,
> > 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.


More information about the Gcc-patches mailing list