Document and test __builtin_expect_with_probability.
authorMartin Liska <mliska@suse.cz>
Tue, 9 Jul 2019 09:22:30 +0000 (11:22 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 9 Jul 2019 09:22:30 +0000 (09:22 +0000)
commitb52db15861e60f5ca82b63caabed6a00da98c7d7
tree857cb570588eecc0f1aa364494278c4b04ce7318
parentc2851dc2896bfc0d27b32c90cafc873f67cd6727
Document and test __builtin_expect_with_probability.

2019-07-09  Martin Liska  <mliska@suse.cz>

* doc/extend.texi: Document influence on loop
optimizers.
2019-07-09  Martin Liska  <mliska@suse.cz>

* gcc.dg/predict-17.c: Test loop optimizer assumption
about loop iterations.

From-SVN: r273295
gcc/ChangeLog
gcc/doc/extend.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/predict-17.c