Fix typo in documentation of __builtin_expect_with_probability.
authorMartin Liska <mliska@suse.cz>
Tue, 30 Oct 2018 08:28:48 +0000 (09:28 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 30 Oct 2018 08:28:48 +0000 (08:28 +0000)
2018-10-30  Martin Liska  <mliska@suse.cz>

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

From-SVN: r265615

gcc/ChangeLog
gcc/doc/extend.texi

index 1ebf3dbe91cad8bc43ec246e1f7538c351a10959..f6137d60b1e4e4f28940310babb1a5b511f28b74 100644 (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
index 7aeb4fd4d276e3247200f2e8da28d3fe6aae1dbd..8772f3afe6bd32bcb85d20bf75c36d8a46c11f4e 100644 (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.