[Bug tree-optimization/85964] [8/9 Regression] compile time hog w/ -O3 -ftracer -fno-guess-branch-probability

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 30 14:55:00 GMT 2018


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  <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.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tracer.c


More information about the Gcc-bugs mailing list