re PR rtl-optimization/81290 (ICE in update_br_prob_note)
authorJan Hubicka <hubicka@ucw.cz>
Mon, 3 Jul 2017 14:40:46 +0000 (16:40 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 3 Jul 2017 14:40:46 +0000 (14:40 +0000)
commit2f70a97992aefc22b56cbee13ccd2bb04c6aaa6f
treeb971b49f4f54cce7db5fb1c43c9444677e53dbe9
parentd31415ba1989c3d51c536fbba6a976b527213e44
re PR rtl-optimization/81290 (ICE in update_br_prob_note)

PR middle-end/81290
* predict.c (force_edge_cold): Be more careful about propagation
backward.
* profile-count.h (profile_probability::guessed,
profile_probability::fdo, profile_count::guessed, profile_count::fdo):
New.
* tree-ssa-threadupdate.c (recompute_probabilities): Result is guessed.

* gcc.c-torture/compile/pr81290.c: New.

From-SVN: r249924
gcc/ChangeLog
gcc/predict.c
gcc/profile-count.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr81290.c [new file with mode: 0644]
gcc/tree-ssa-threadupdate.c