Fix typo in documentation of __builtin_expect_with_probability.

2018-10-30  Martin Liska  <mliska@suse.cz>

	* doc/extend.texi: Fix typo in documentation
	of __builtin_expect_with_probability.

From-SVN: r265615
This commit is contained in:
Martin Liska 2018-10-30 09:28:48 +01:00 committed by Martin Liska
parent 4267ed5195
commit 9eeb0b97a6
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2018-10-30 Martin Liska <mliska@suse.cz>
* doc/extend.texi: Fix typo in documentation
of __builtin_expect_with_probability.
2018-10-29 David Malcolm <dmalcolm@redhat.com>
PR c++/87721

View File

@ -12027,7 +12027,7 @@ when testing pointer or floating-point values.
@deftypefn {Built-in Function} long __builtin_expect_with_probability
(long @var{exp}, long @var{c}, long @var{probability})
The built-in has same semantics as @code{__builtin_expect_with_probability},
The built-in has same semantics as @code{__builtin_expect},
but user can provide expected probability (in percent) for value of @var{exp}.
Last argument @var{probability} is of float type and valid values
are in inclusive range 0.0f and 1.0f.