On Mon, Sep 24, 2012 at 12:05 PM, Eric Botcazou <ebotca...@adacore.com> wrote: > Hi, > > although the type merging machinery deals with TYPE_NONALIASED_COMPONENT, the > flag is actually not streamed, which can result in strange performance drops > for Ada applications in LTO mode. The attached patch plugs this hole. > > Tested on x86_64-suse-linux and LTO-bootstrapped. I also checked that the 4.7 > compiler can still compile a big Ada application in LTO mode. Can I put this > both on mainline and 4.7 branch. This only affects Ada.
Yes, sure. Thanks, Richard. > > 2012-09-24 Eric Botcazou <ebotca...@adacore.com> > > * tree-streamer-in.c (unpack_ts_type_common_value_fields): Stream in > TYPE_NONALIASED_COMPONENT flag. > * tree-streamer-out.c (pack_ts_type_common_value_fields): Stream out > TYPE_NONALIASED_COMPONENT flag. > > > -- > Eric Botcazou