re PR bootstrap/82832 (Broken PGO LTO bootstrap on x86_64 after r254379)
authorJan Hubicka <hubicka@ucw.cz>
Mon, 6 Nov 2017 13:45:41 +0000 (14:45 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 6 Nov 2017 13:45:41 +0000 (13:45 +0000)
commit8e7d1486f6635614f97e26f27ed8033f647ef6f2
tree48517ad3ae0dc37801c611131c9093c4b7475294
parent454f8b2b0c6f9645b3df6be98efe2ca520f2ce82
re PR bootstrap/82832 (Broken PGO LTO bootstrap on x86_64 after r254379)

PR bootstrap/82832
* ipa-inline-transform.c (update_noncloned_frequencies): Always
scale.
(inline_transform): Likewise.
* predict.c (counts_to_freqs): Remove useless conditional.
* profile-count.h (profile_count::apply_scale): Move sanity check.
* tree-inline.c (copy_bb): Always scale.
(copy_cfg_body): Likewise.

From-SVN: r254452
gcc/ChangeLog
gcc/ipa-inline-transform.c
gcc/predict.c
gcc/profile-count.h
gcc/tree-inline.c