This is the mail archive of the gcc-patches@gcc.gnu.org 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


David Malcolm <dmalcolm@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.

Thanks,
Richard


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