Partial fix for LTO bootstrap with Ada

Richard Guenther richard.guenther@gmail.com
Mon Jan 23 10:58:00 GMT 2012


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



More information about the Gcc-patches mailing list