On Fri, 2014-05-02 at 17:43 +0100, Richard Sandiford wrote: > David Malcolm <dmalc...@redhat.com> writes: > > Currently, gengtype does not support template arguments that are > > explicitly pointers, such as: > > static GTY(()) vec<gimple_statement_base *> test_gimple; giving this > > error: > > ../../src/gcc/gimple-expr.c:902: parse error: expected a string constant > > or ',', have '*' instead > > requiring them to be typedefs. > > > > This patch removes this restriction, supporting up to a single pointer > > in each template argument. > > Sorry to ask, but would you mind holding on until after the wide-int merge > (hopefully the next few days, this time for real)? It looks like it > might clash with the support for nested templates.
Ack. [This is enabling work for something I've already been asked to wait post-4.9.1 for, so sure. I hope it won't be too hard to redo on top of your changes.] Good luck with the wide-int merge