This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/38074] [4.4 Regression] missed inlining on Core2 Duo due to apparent wrong branch prediction/profile
- From: "hubicka at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Dec 2008 08:35:43 -0000
- Subject: [Bug middle-end/38074] [4.4 Regression] missed inlining on Core2 Duo due to apparent wrong branch prediction/profile
- References: <bug-38074-12313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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