]> gcc.gnu.org Git - gcc.git/commit
Handle -fno-guess-branch-probability properly in predict.c (PR ipa/84825).
authorMartin Liska <mliska@suse.cz>
Tue, 20 Mar 2018 14:14:17 +0000 (15:14 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 20 Mar 2018 14:14:17 +0000 (14:14 +0000)
commit14b05bee0ccd7a6a9d7c6d498121caa4d6f9e23d
treea7bac11c79f2261dfae19a1439fdb57878560fbe
parent7e86e0a3a1a8f923e2fb7badfe5714bc239710af
Handle -fno-guess-branch-probability properly in predict.c (PR ipa/84825).

2018-03-20  Martin Liska  <mliska@suse.cz>

PR ipa/84825
* predict.c (rebuild_frequencies): Handle case when we have
PROFILE_ABSENT, but flag_guess_branch_prob is false.
2018-03-20  Martin Liska  <mliska@suse.cz>

PR ipa/84825
* g++.dg/ipa/pr84825.C: New test.

From-SVN: r258683
gcc/ChangeLog
gcc/predict.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/pr84825.C [new file with mode: 0644]
This page took 0.053931 seconds and 5 git commands to generate.