Hi.
I'm going to install one obvious documentation fix as reported here:
https://gcc.gnu.org/ml/gcc/2018-10/msg00252.html
Martin
gcc/ChangeLog:
2018-10-30 Martin Liska <[email protected]>
* doc/extend.texi: Fix typo in documentation
of __builtin_expect_with_probability.
---
gcc/doc/extend.texi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 7aeb4fd4d27..8772f3afe6b 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -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.