This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: FDO usability trivial patch to fix div by zero error with insane profile
- From: Diego Novillo <dnovillo at google dot com>
- To: Xinliang David Li <davidxl at google dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Jan Hubicka <jh at suse dot cz>
- Date: Fri, 15 Apr 2011 15:52:33 -0400
- Subject: Re: FDO usability trivial patch to fix div by zero error with insane profile
- References: <BANLkTimm26r+6FBitPMhBxupXsyEXsO-DA@mail.gmail.com>
On Fri, Apr 15, 2011 at 15:20, Xinliang David Li <davidxl@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 Â<davidxl@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.