https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63576
--- Comment #5 from Jan Hubicka <hubicka at gcc dot gnu.org> --- I don't seem to be able to make sense of Ilya's logic in the probability calculation (incrementing the count with bb->count seem wrong). Will try to update his patch today.