diff options
author | Martin Liska <mliska@suse.cz> | 2018-08-15 10:55:15 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2018-08-15 08:55:15 +0000 |
commit | 7c8357def14d184fd95d506f0155c62a7141a921 (patch) | |
tree | f6bc1fc8f9dbd6e1c5544d6c8d9a027c792a424e /libcpp | |
parent | 0806181f233acd921de0881a65423eafc7cf8a5e (diff) | |
download | gcc-7c8357def14d184fd95d506f0155c62a7141a921.zip gcc-7c8357def14d184fd95d506f0155c62a7141a921.tar.gz gcc-7c8357def14d184fd95d506f0155c62a7141a921.tar.bz2 |
Fix merging of 2 predictors (PR tree-optimization/86925).
2018-08-15 Martin Liska <mliska@suse.cz>
PR tree-optimization/86925
* predict.c (expr_expected_value_1): When taking
later predictor, assign also probability.
Use fold_build2_initializer_loc in order to fold
the expression in -frounding-math.
2018-08-15 Martin Liska <mliska@suse.cz>
PR tree-optimization/86925
* gcc.dg/predict-20.c: New test.
* gcc.dg/predict-21.c: New test.
From-SVN: r263552
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions