This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Stream TYPE_NONALIASED_COMPONENT in LTO mode


On Mon, Sep 24, 2012 at 12:05 PM, Eric Botcazou <ebotcazou@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  <ebotcazou@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]