https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85964
--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Wed May 30 14:55:04 2018 New Revision: 260954 URL: https://gcc.gnu.org/viewcvs?rev=260954&root=gcc&view=rev Log: 2018-05-30 Richard Biener <rguent...@suse.de> PR tree-optimization/85964 * tracer.c (better_p): Drop initialized count check, we only call the function with initialized counts now. (find_best_successor): Do find a best edge if one has uninitialized count. (find_best_predecessor): Likewise. Do BB frequency check only if count is initialized. Modified: trunk/gcc/ChangeLog trunk/gcc/tracer.c