* doc/extend.texi: Constify first argument to __builtin_object_size.

From-SVN: r242804
This commit is contained in:
Jakub Kicinski 2016-11-23 22:05:18 +00:00 committed by Jeff Law
parent d5c45ad752
commit 03a4ffcd5f
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2016-11-23 Jakub Kicinski <jakub.kicinski@netronome.com>
* doc/extend.texi: Constify first argument to __builtin_object_size.
2016-11-23 Bernd Edlinger <bernd.edlinger@hotmail.de>
* opth-gen.awk: Use unsigned shifts for bit masks. Allow all bits

View File

@ -10125,7 +10125,7 @@ follow pointer assignments through non-trivial control flow they rely
on various optimization passes enabled with @option{-O2}. However, to
a limited extent, they can be used without optimization as well.
@deftypefn {Built-in Function} {size_t} __builtin_object_size (void * @var{ptr}, int @var{type})
@deftypefn {Built-in Function} {size_t} __builtin_object_size (const void * @var{ptr}, int @var{type})
is a built-in construct that returns a constant number of bytes from
@var{ptr} to the end of the object @var{ptr} pointer points to
(if known at compile time). @code{__builtin_object_size} never evaluates