On Fri, Apr 15, 2011 at 15:20, Xinliang David Li <davi...@google.com> wrote: > This is a trivial patch to deal with bad profile data (from > multi-threaded programs) that leads to divide by zero error. > > Ok for trunk? > > Thanks, > > David > > > > 2011-04-15 Xinliang David Li <davi...@google.com> > > * ipa-inline.c (cgraph_decide_recursive_inlining): Fix > div by zero error with insane profile.
Looks fine to me, but you really want Honza to review this. Any chance we can get a test case for this? Diego.