predict.c (tree_predict_edge): Don't drop useless predictions; check that it is not...
authorJan Hubicka <jh@suse.cz>
Mon, 6 Jun 2005 12:31:35 +0000 (14:31 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 6 Jun 2005 12:31:35 +0000 (12:31 +0000)
commita00d11f077e0577ef4c8f6d08f2c8d52d8ec15ca
treeb33345b9d09639a34fdfad1df1f1c467319d43a7
parentbbf59fad2d3953258c0a0c13516f8850b9e26c99
predict.c (tree_predict_edge): Don't drop useless predictions; check that it is not called too late in the game.

* predict.c (tree_predict_edge): Don't drop useless predictions;
check that it is not called too late in the game.
(gate_estimate_probability): New gate.
(pass_profile): Gate.
* tree-mudflap.c (mf_build_check_statement_for): Do not drop
predictions; update CFG instead.
* cfgrtl.c (rtl_verify_flow_info): Check that predcitions are consumed.

From-SVN: r100662
gcc/ChangeLog
gcc/cfgrtl.c
gcc/predict.c
gcc/tree-mudflap.c