This is the mail archive of the 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: [PATCH] gengtype: Support explicit pointers in template arguments

On Fri, 2014-05-02 at 17:43 +0100, Richard Sandiford wrote:
> David Malcolm <> 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

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