This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Partial fix for LTO bootstrap with Ada
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 23 Jan 2012 11:58:11 +0100
- Subject: Re: Partial fix for LTO bootstrap with Ada
- References: <201201221542.26263.ebotcazou@adacore.com>
On Sun, Jan 22, 2012 at 3:42 PM, Eric Botcazou <ebotcazou@adacore.com> wrote:
> The LTO bootstrap of the Ada compiler is currently plagued by at least three
> different problems. ?The attached patch is for the easy one: it prevents fake
> variables whose type contains a placeholder from being created, which doesn't
> work in LTO mode because you cannot instantiate the PLACEHOLDER_EXPRs. ?IIUC
> this is only a slight pessimization.
>
> Bootstrapped/regtested on x86_64-suse-linux, OK for mainline?
Ok.
I suppose that's different from TYPE_NEEDS_CONSTRUCTING? So
it fails doing the build_fake_var_decl? Or does it fail elsewhere?
Thanks,
Richard.
>
> 2012-01-22 ?Eric Botcazou ?<ebotcazou@adacore.com>
>
> ? ? ? ?* tree-ssa-structalias.c (intra_create_variable_infos): Do not create
> ? ? ? ?fake variables for restrict-qualified pointers whose pointed-to type
> ? ? ? ?contains a placeholder.
>
>
> --
> Eric Botcazou