From: Martin Liska Date: Tue, 30 Oct 2018 08:28:48 +0000 (+0100) Subject: Fix typo in documentation of __builtin_expect_with_probability. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9eeb0b97a6196416821d304816469cbe830d2027;p=gcc.git Fix typo in documentation of __builtin_expect_with_probability. 2018-10-30 Martin Liska * doc/extend.texi: Fix typo in documentation of __builtin_expect_with_probability. From-SVN: r265615 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1ebf3dbe91c..f6137d60b1e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-10-30 Martin Liska + + * doc/extend.texi: Fix typo in documentation + of __builtin_expect_with_probability. + 2018-10-29 David Malcolm PR c++/87721 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.