diff options
author | Martin Liska <mliska@suse.cz> | 2018-10-30 09:28:48 +0100 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2018-10-30 08:28:48 +0000 |
commit | 9eeb0b97a6196416821d304816469cbe830d2027 (patch) | |
tree | ed6a68e1bcd1807b4504b5e4258678f03158a58c /gcc/doc | |
parent | 4267ed519538295a3a71d75ca6002ec8489f206a (diff) | |
download | gcc-9eeb0b97a6196416821d304816469cbe830d2027.zip gcc-9eeb0b97a6196416821d304816469cbe830d2027.tar.gz gcc-9eeb0b97a6196416821d304816469cbe830d2027.tar.bz2 |
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
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/extend.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 7aeb4fd..8772f3a 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. |