[PATCH] Reset contexts in possible_polymorphic_call_targets properly

2014-11-08 Thread Martin Jambor
Hi in a patch I work on I store ipa_polymorphic_call_contexts in a vector and thus they do not get properly constructed, merely memset to zero. This means that I happen to be using "know nothing" contexts which have their outer_type set to NULL but the various flags are also false, unlike in the p

Re: [PATCH] Reset contexts in possible_polymorphic_call_targets properly

2014-11-10 Thread Jan Hubicka
> Hi > > in a patch I work on I store ipa_polymorphic_call_contexts in a vector > and thus they do not get properly constructed, merely memset to zero. > This means that I happen to be using "know nothing" contexts which > have their outer_type set to NULL but the various flags are also > false, u