https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92971

            Bug ID: 92971
           Summary: Suspicious code in
                    cgraph_edge_brings_all_agg_vals_for_node(), ipa-cp.c
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: fxue at gcc dot gnu.org
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

The variable "values" is defined as static, which makes a questionable side
effect. History calls will impact result of current call!

  for (i = 0; i < count; i++)
    {
      static vec<ipa_agg_value> values = vNULL;
      class ipcp_param_lattices *plats;

Reply via email to