On 11/28/2017 04:34 AM, Siddhesh Poyarekar wrote: > On Friday 24 November 2017 05:36 PM, Siddhesh Poyarekar wrote: >> freq_max < 1, i.e. highest frequency among bbs in the function being >> higher than real_bb_freq_max means that the bb ends up with a profile >> count larger than real_bb_freq_max and then can go all the way up to >> and beyond profile_count::max_count. >> >> Bootstrapped on aarch64, testsuite in progress. > > Tests came out clean (no new regressions) on aarch64 and x86_64. Ping? > > Siddhesh > >> >> * gcc/predict.c (estimate_bb_frequencies): Don't reset freq_max. >> * gcc/testsuite/gcc.dg/pr83069.c: New test case. Just a note. Honza indicated in the associated BZ that he was going to prepare an alternate patch to address this problem.
Jeff