Commit 2cfef329 by Jan Hubicka Committed by Jan Hubicka

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
parent c204d113
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
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment