On Mon, Jun 2, 2008 at 5:10 PM, Diego Novillo <[EMAIL PROTECTED]> wrote: > In g++.dg/torture/20070621-1.C we are trying to stream out a structure > that contains a TEMPLATE_DECL. This currently causes a failure in > lto-function-out.c:output_tree because not only TEMPLATE_DECL is > C++-specific, we can't even access its fields from lto-function-out.c.
TEMPLATE_DECL should have been converted to a FUNCTION_DECL already by this time as far as I can read the sources. Does TEMPLATE_DECL show up in the context or where does it show up? Thanks, Andrew Pinski