Variadic templates, fourth revision [Committed]

Richard Guenther richard.guenther@gmail.com
Mon Mar 12 10:40:00 GMT 2007


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.



More information about the Gcc-patches mailing list