aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2019-11-23 11:06:26 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2019-11-23 11:06:26 +0100
commit1fbf51cb84cb1000fac324ef11554c36084cd537 (patch)
tree13ae1acd889f6bf845b15c15d9f2176419ea4121 /gcc/doc
parentba585b91532b5cb382f1e2d21be50e728bca1da0 (diff)
downloadgcc-1fbf51cb84cb1000fac324ef11554c36084cd537.zip
gcc-1fbf51cb84cb1000fac324ef11554c36084cd537.tar.gz
gcc-1fbf51cb84cb1000fac324ef11554c36084cd537.tar.bz2
re PR middle-end/83859 (Please add new attribute which will establish relation between parameters for buffer and its size)
PR middle-end/83859 * doc/extend.texi (attribute access): Fix a typo. * c-attribs.c (append_access_attrs): Avoid buffer overflow. Avoid memory leak. Use XNEWVEC macro. Use auto_diagnostic_group to group warning with inform together. (handle_access_attribute): Formatting fix. From-SVN: r278641
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/extend.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 3a63d48..56a3d60 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -2490,7 +2490,7 @@ The following attributes are supported on most targets.
The @code{access} attribute enables the detection of invalid or unsafe
accesses by functions to which they apply to or their callers, as well
-as wite-only accesses to objects that are never read from. Such accesses
+as write-only accesses to objects that are never read from. Such accesses
may be diagnosed by warnings such as @option{-Wstringop-overflow},
@option{-Wunnitialized}, @option{-Wunused}, and others.