[Bug middle-end/38074] [4.4 Regression] missed inlining on Core2 Duo due to apparent wrong branch prediction/profile

hubicka at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Dec 6 08:37:00 GMT 2008



------- Comment #12 from hubicka at gcc dot gnu dot org  2008-12-06 08:35 -------
Subject: Bug 38074

Author: hubicka
Date: Sat Dec  6 08:34:20 2008
New Revision: 142517

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142517
Log:

        PR tree-optimization/38074
        * cgraphbuild.c (compute_call_stmt_bb_frequency): Fix handling of 0
        entry frequency.
        * predict.c (combine_predictions_for_bb): Ignore predictor predicting
        in both dirrection for first match heuristics.
        (tree_bb_level_predictions): Disable noreturn heuristic when there
        is no returning path.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cgraphbuild.c
    trunk/gcc/predict.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38074



More information about the Gcc-bugs mailing list