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, PR 55253] Propagate aggs_contain_variable flag in aggregater IPA-CP


On Tue, Nov 13, 2012 at 9:03 AM, Martin Jambor <mjambor@suse.cz> wrote:

> Index: src/gcc/ipa-cp.c
> ===================================================================
> --- src.orig/gcc/ipa-cp.c
> +++ src/gcc/ipa-cp.c
> @@ -1276,6 +1276,8 @@ merge_aggregate_lattices (struct cgraph_
>      return true;
>    if (src_plats->aggs_bottom)
>      return set_agg_lats_contain_variable (dest_plats);
> +  if (src_plats->aggs_contain_variable)
> +    ret |= set_agg_lats_contain_variable (dest_plats);
>    dst_aglat = &dest_plats->aggs;

Out of curiousity, why are the lines just above the ones you added not

    if (src_plats->aggs_bottom)
      return set_agg_lats_to_bottom (dest_plats);

?

Ian


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