https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92924
--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> --- > > So the histogram of destinations is indeed greatly dominated by one > estination but there are very many others (not all are listed since I > started dropping them). > > One way to make reproducible merging better is to drop destinations with > small trip counts before merging, but I am not sure it would help everywhere. Yes, that makes sense. We should do it both during merging and during instrumentation. If we choose a drop level equal to 10^2 or 10^3 we should not probably introduce a divergence. One solution could be to interpret a profile when it's read and make a decision about validity and invalidity.