aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2016-11-23 22:05:18 +0000
committerJeff Law <law@gcc.gnu.org>2016-11-23 15:05:18 -0700
commit03a4ffcd5f21c80b36cf8ad27bb3f3ece00c15b7 (patch)
tree4b7052d748ce4799c0fff2a78f79d56c93cbae05 /gcc/doc
parentd5c45ad752d9e7c0b55c3712d2bd92307251c3b7 (diff)
downloadgcc-03a4ffcd5f21c80b36cf8ad27bb3f3ece00c15b7.zip
gcc-03a4ffcd5f21c80b36cf8ad27bb3f3ece00c15b7.tar.gz
gcc-03a4ffcd5f21c80b36cf8ad27bb3f3ece00c15b7.tar.bz2
* doc/extend.texi: Constify first argument to __builtin_object_size.
From-SVN: r242804
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/extend.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index ca46918..d873403 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -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