This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [lto] Streaming out language-specific DECL/TYPEs
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: "Diego Novillo" <dnovillo at google dot com>
- Cc: "Kenneth Zadeck" <zadeck at naturalbridge dot com>, "Bill Maddox" <maddox at google dot com>, gcc at gcc dot gnu dot org
- Date: Mon, 2 Jun 2008 18:06:36 -0700
- Subject: Re: [lto] Streaming out language-specific DECL/TYPEs
- References: <b798aad50806021710g7aa5232m184472c067fda23c@mail.gmail.com>
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