* doc/extend.texi: Constify first argument to __builtin_object_size.
authorJakub Kicinski <jakub.kicinski@netronome.com>
Wed, 23 Nov 2016 22:05:18 +0000 (22:05 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 23 Nov 2016 22:05:18 +0000 (15:05 -0700)
From-SVN: r242804

gcc/ChangeLog
gcc/doc/extend.texi

index e6f29db082b40a6c262458db7bfc6f7b9277892c..40fec3d9cfeb28c895e038f8e197146a81f6d7aa 100644 (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
index ca4691866509d4c1f6c3d430eaa56af04cb6c6be..d873403f4537359e02c7bcd2b59da2ff3c0f8418 100644 (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