https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92971
--- Comment #2 from Martin Jambor <jamborm at gcc dot gnu.org> --- (In reply to fxue from comment #0) > 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; Ugh, fortunately it is always assigned before the first use but it definitely should not be a static variable, that is some sort of pasto. I'll prepare an obvious patch. Thanks for spotting it.