From: Martin Sebor Date: Tue, 25 Feb 2020 20:14:56 +0000 (-0700) Subject: Correct an attribute access example. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=68f8763d57ab6e90f9d78ec0b0e6b71241676a5c;p=gcc.git Correct an attribute access example. gcc/ChangeLog: * doc/extend.texi (attribute access): Correct an example. --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 653c276d3fb..0e9c02c02ff 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2020-02-25 Martin Sebor + + * doc/extend.texi (attribute access): Correct an example. + 2020-02-25 Mihail Ionescu * config/aarch64/aarch64-builtins.c (aarch64_scalar_builtin_types): diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index b7f462a76b0..007a9a390d7 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -2526,7 +2526,7 @@ the @code{puts} function, or the second and third arguments to the @code{memcpy} function. @smallexample -__attribute__ ((access (read_only))) int puts (const char*); +__attribute__ ((access (read_only, 1))) int puts (const char*); __attribute__ ((access (read_only, 1, 2))) void* memcpy (void*, const void*, size_t); @end smallexample