re PR tree-optimization/85964 (compile time hog w/ -O3 -ftracer -fno-guess-branch...
authorRichard Biener <rguenther@suse.de>
Wed, 30 May 2018 14:55:04 +0000 (14:55 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 30 May 2018 14:55:04 +0000 (14:55 +0000)
commit74e0960e3ee7274e5b564e26f81660524b13d447
tree90cffa9917bdd682d4f2983aeb3295ac9494cc86
parentd0b51297b0b12584251e4eebcd7d8e6fd48edc20
re PR tree-optimization/85964 (compile time hog w/ -O3 -ftracer -fno-guess-branch-probability)

2018-05-30  Richard Biener  <rguenther@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.

From-SVN: r260954
gcc/ChangeLog
gcc/tracer.c