re PR tree-optimization/47234 (ipa-split is executed before profile feedback is read)
authorJan Hubicka <jh@suse.cz>
Mon, 10 Jan 2011 14:33:04 +0000 (15:33 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 10 Jan 2011 14:33:04 +0000 (14:33 +0000)
commitcf9712ccc092e054e2a48d78c275b709700a0032
treebbc73f1eb46e75ef826904a55147a08ff0e52674
parent94cd932caeac5f720dd5a5f78583a5eaea456c6c
re PR tree-optimization/47234 (ipa-split is executed before profile feedback is read)

PR tree-optimization/47234
* tree-pass.h (TODO_rebuild_cgraph_edges): New TODO.
(pass_feedback_split_functions): Declare.
* passes.c (init_optimization_passes): Add ipa-split as subpass of
tree-profile.
* ipa-split.c (gate_split_functions): Update comments; disable
split-functions for profile_arc_flag and branch_probabilities.
(gate_feedback_split_functions): New function.
(execute_feedback_split_functions): New function.
(pass_feedback_split_functions): New global var.

From-SVN: r168632
gcc/ChangeLog
gcc/ipa-split.c
gcc/passes.c
gcc/tree-pass.h