FDO usability trivial patch to fix div by zero error with insane profile

Xinliang David Li davidxl@google.com
Fri Apr 15 20:21:00 GMT 2011


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: div0.p
Type: text/x-pascal
Size: 495 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110415/cd6cae2d/attachment.bin>


More information about the Gcc-patches mailing list