]> git.ipfire.org Git - thirdparty/gcc.git/commit
Doc: Clarify use of access attribute [PR101440]
authorSandra Loosemore <sloosemore@baylibre.com>
Thu, 3 Apr 2025 02:40:59 +0000 (02:40 +0000)
committerSandra Loosemore <sloosemore@baylibre.com>
Thu, 3 Apr 2025 02:56:05 +0000 (02:56 +0000)
commit4590a31f81ae18e0d887c1a56f510d22754f31ed
treec89187a14abdb344cad938d44b3589338f6b7472
parent93acd068af65c4a73ddaee6a8e36f016bde3df9d
Doc: Clarify use of access attribute [PR101440]

This issue was specifically about a confusing mention of the "second
and third arguments to the memcpy function" when only the second one
is a pointer affected by the attribute, but reading through the entire
discussion I found other things confusing as well; e.g. in some cases
it wasn't clear whether the "arguments" were the arguments to the
attribute or the function, or exactly what a "positional argument"
was.  I've tried to rewrite that part to straighten it out, as well as
some light copy-editing throughout.

gcc/ChangeLog
PR c/101440
* doc/extend.texi (Common Function Attributes): Clean up some
confusing language in the description of the "access" attribute.
gcc/doc/extend.texi