On Sun, Oct 11, 2015 at 11:07 PM, Jan Hubicka <hubi...@ucw.cz> wrote: > Hi, > this patch fixes a case of extreme imprecision I noticed while looking into > profiles of PHP interpretter. There is a function that is called 22 times > and contains the main loop. Now since the frequency of entry block is dropped > to 0, we do not have any information of relative frequencies in the colder > areas of the function. > > Hope all this uglyness with go away with conversion to sreals soonish. > > Profiledbootstrapped/regtested ppc64le-linux, comitted. > * cgraphbuild.c (compute_call_stmt_bb_frequency): Use > counts when these are more informative.
This caused: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67931 -- H.J.