This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]