re PR tree-optimization/46228 (code produced for STL container is worse in 4.5.1 than in 4.4.5)

PR tree-optimize/46228
	* cgraph.c (cgraph_propagate_frequency): Fix typo.

From-SVN: r166553
This commit is contained in:
Jan Hubicka 2010-11-10 21:10:46 +01:00 committed by Jan Hubicka
parent c204d113c0
commit 2cfef329c2
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2010-11-10 Jan Hubicka <jh@suse.cz>
PR tree-optimize/46228
* cgraph.c (cgraph_propagate_frequency): Fix typo.
2010-11-10 H.J. Lu <hongjiu.lu@intel.com>
PR tree-optimization/46414

View file

@ -2728,7 +2728,7 @@ cgraph_propagate_frequency (struct cgraph_node *node)
cgraph_node_name (node));
changed = true;
}
if (maybe_executed_once && node->frequency != NODE_FREQUENCY_EXECUTED_ONCE)
else if (maybe_executed_once && node->frequency != NODE_FREQUENCY_EXECUTED_ONCE)
{
node->frequency = NODE_FREQUENCY_EXECUTED_ONCE;
if (dump_file)