[patch] Enable Ada bootstrap with LTO

Richard Guenther richard.guenther@gmail.com
Sat Nov 27 17:58:00 GMT 2010


On Sat, Nov 27, 2010 at 12:38 PM, Eric Botcazou <ebotcazou@adacore.com> wrote:
>> I suppose we re-gimplify the INDIRECT_REFs, but it would be better to
>> generate MEM_REFs in the first place - just check for MEM_REF and
>> use build_simple_mem_ref.
>
> No, the INDIRECT_REFs present in DECL_VALUE_EXPRs aren't re-gimplified so they
> reach tree-nested.c, go through it and are rematerialized during LTRANS.

Huh, but we can't expand them.  We shouldn't have INDIRECT_REFs in the
IL anymore.  Hmm, maybe dwarf2out can still deal with them though.

Richard.



More information about the Gcc-patches mailing list