diff options
author | Martin Sebor <msebor@redhat.com> | 2020-02-25 13:14:56 -0700 |
---|---|---|
committer | Martin Sebor <msebor@redhat.com> | 2020-02-25 13:14:56 -0700 |
commit | 68f8763d57ab6e90f9d78ec0b0e6b71241676a5c (patch) | |
tree | bc939d7af5191c5d2d23423ce886c380cbc5cafb | |
parent | e603cd43b145c426468c95cf85b3c12c94daedaa (diff) | |
download | gcc-68f8763d57ab6e90f9d78ec0b0e6b71241676a5c.zip gcc-68f8763d57ab6e90f9d78ec0b0e6b71241676a5c.tar.gz gcc-68f8763d57ab6e90f9d78ec0b0e6b71241676a5c.tar.bz2 |
Correct an attribute access example.
gcc/ChangeLog:
* doc/extend.texi (attribute access): Correct an example.
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/doc/extend.texi | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 653c276..0e9c02c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2020-02-25 Martin Sebor <msebor@redhat.com> + + * doc/extend.texi (attribute access): Correct an example. + 2020-02-25 Mihail Ionescu <mihail.ionescu@arm.com> * config/aarch64/aarch64-builtins.c (aarch64_scalar_builtin_types): diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index b7f462a..007a9a3 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 |