> > I think this is wrong and needs to be fixed, maybe we shouldn't > > use "ggc_alloc<registered_function> ()", or is there another better > > way to implement it? > > From the root we're marking the registered_functions vector via > the > > template<typename T> > void > gt_ggc_mx (vec<T, va_gc> *v) > > overload which will eventually mark registered_function * but since > you do not provide a gt_ggc_mx overload for the pointer type > this pointer will _not_ be marked.
Very helpful guide, I will try to fix it. BR, Jin