This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: LTO ICE in D Frontend
- From: Iain Buclaw <ibuclaw at gdcproject dot org>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 10 Jul 2014 07:35:46 +0100
- Subject: Re: LTO ICE in D Frontend
- Authentication-results: sourceware.org; auth=none
- References: <CABOHX+exHdkqEcVn=W98T9CA-j1AR+smDj+Uj-ryGidTqo0tVg at mail dot gmail dot com>
On 10 July 2014 07:31, Iain Buclaw <ibuclaw@gdcproject.org> wrote:
> Hi,
>
> I'm trying to get to the bottom of a bug when using the D front-end with -flto.
>
> When compiling anything, it always ICEs at in
> streamer_get_pickled_tree, at tree-streamer-in.c.
>
> The of it appears to be that the LTO frontend seems to never retrieve
> what it is expected to find. But I don't know what could be missing
> from the code generation on my side to sort that out.
>
>
> The following minimal test that yields an ICE.
> ---
> extern(C) int test = void;
>
In this example, the LTO expects to find an IDENTIFIER_NODE, but
retrieves an ERROR_MARK.
Regards
Iain.