Re: Partial fix for LTO bootstrap with Ada

2015-10-27 Thread Tom de Vries
[ cc gcc-patches ] On 23/10/15 18:40, Eric Botcazou wrote: --- a/gcc/tree-ssa-structalias.c +++ b/gcc/tree-ssa-structalias.c @@ -5887,7 +5887,10 @@ intra_create_variable_infos (struct function *fn) if (POINTER_TYPE_P (TREE_TYPE (t)) && TYPE_RESTRICT (TREE_TYPE (t))) -

Re: Partial fix for LTO bootstrap with Ada

2015-10-23 Thread Jan Hubicka
> [ added missing cc of gcc-patches ] > > On 23/10/15 17:46, Tom de Vries wrote: > >[ Quote-pasted from > >https://gcc.gnu.org/ml/gcc-patches/2012-01/msg01077.html ] > > > >>The LTO bootstrap of the Ada compiler is currently plagued by at least > >>three > >>different problems. The attached patch

Re: Partial fix for LTO bootstrap with Ada

2015-10-23 Thread Tom de Vries
[ added missing cc of gcc-patches ] On 23/10/15 17:46, Tom de Vries wrote: [ Quote-pasted from https://gcc.gnu.org/ml/gcc-patches/2012-01/msg01077.html ] 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

Re: Partial fix for LTO bootstrap with Ada

2012-01-23 Thread Eric Botcazou
> I suppose that's different from TYPE_NEEDS_CONSTRUCTING? So > it fails doing the build_fake_var_decl? Yes, it fails in layout_decl because the VAR_DECL has self-referential size so you have PLACEHOLDER_EXPRs in the DECL_SIZE and we cannot handle them this late in LTO mode. We don't use TYPE_

Re: Partial fix for LTO bootstrap with Ada

2012-01-23 Thread Richard Guenther
On Sun, Jan 22, 2012 at 3:42 PM, Eric Botcazou 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 > wor

Partial fix for LTO bootstrap with Ada

2012-01-22 Thread Eric Botcazou
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