This is the mail archive of the gcc@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: [lto] Streaming out language-specific DECL/TYPEs


On Mon, Jun 2, 2008 at 5:10 PM, Diego Novillo <dnovillo@google.com> 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


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