Commit 68f8763d by Martin Sebor

Correct an attribute access example.

gcc/ChangeLog:
	* doc/extend.texi (attribute access): Correct an example.
parent e603cd43
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):
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment