There is no way to get a test case that can produce the problem in a
deterministic way.  There is really not much for Honza to review
though :)

David

On Fri, Apr 15, 2011 at 12:52 PM, Diego Novillo <dnovi...@google.com> wrote:
> 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.
>

Reply via email to