On Thu, Dec 01, 2016 at 01:41:30PM -0500, David Edelsohn wrote: > TEMPLATE_DECL is defined in cp/cp-tree.def, which is included in > all-tree.def, which is included in tree-core.h, which is included in > tree.h, which is included in dbxout.c.
That is clearly a bug, if TEMPLATE_DECL is used in the generic code, it should be moved into generic tree.def IMHO. But of course it can be done incrementally. Jakub