Re: Track dynamic type changes

2014-11-24 Thread H.J. Lu
On Sun, Oct 5, 2014 at 9:34 AM, Jan Hubicka wrote: > Hi, > this patch makes ipa_polymorphic_call_context::get_dynamic_type to > track if vptr has changed in between function entry and polymorphic > call. > > The patch also add logic skipping if (a==0) checks in multiple > inheritance so I can cons

Re: Track dynamic type changes

2014-11-11 Thread H.J. Lu
On Sun, Oct 5, 2014 at 9:34 AM, Jan Hubicka wrote: > Hi, > this patch makes ipa_polymorphic_call_context::get_dynamic_type to > track if vptr has changed in between function entry and polymorphic > call. > > The patch also add logic skipping if (a==0) checks in multiple > inheritance so I can cons

Re: Track dynamic type changes

2014-10-08 Thread Rainer Orth
Hi Jan, > this patch makes ipa_polymorphic_call_context::get_dynamic_type to > track if vptr has changed in between function entry and polymorphic > call. > > The patch also add logic skipping if (a==0) checks in multiple > inheritance so I can construct testcase more easily. > > I got my SVN tree

Track dynamic type changes

2014-10-05 Thread Jan Hubicka
_type_info; size = tree_to_uhwi (DECL_SIZE (fld)); @@ -583,7 +591,7 @@ ipa_polymorphic_call_context::dump (FILE { fprintf (f, ""); if (invalid) -fprintf (f, "Call is known to be undefined\n"); +fprintf (f, "Call is known to be undefined"); else