diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-12-19 17:43:04 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-12-19 17:43:04 +0100 |
commit | 972027748c2aa9f59ef1ab534763b0d6ed37b76d (patch) | |
tree | 4b28276b4df98bc91aaec6e977cad6164d0e067c /gcc/jit/jit-logging.c | |
parent | 41bc2c0b217d727aa516978cac54594d00498411 (diff) | |
download | gcc-972027748c2aa9f59ef1ab534763b0d6ed37b76d.zip gcc-972027748c2aa9f59ef1ab534763b0d6ed37b76d.tar.gz gcc-972027748c2aa9f59ef1ab534763b0d6ed37b76d.tar.bz2 |
re PR middle-end/81914 (gcc 7.1 generates branch for code which was branchless in earlier gcc version)
PR middle-end/81914
* predict.c (zero_one_minusone): New function.
(apply_return_prediction): Avoid return prediction for functions
returning only -1, 0 and 1 values, unless they only return -1 and 0
or 0 and 1.
From-SVN: r255829
Diffstat (limited to 'gcc/jit/jit-logging.c')
0 files changed, 0 insertions, 0 deletions