re PR middle-end/83859 (Please add new attribute which will establish relation betwee...
authorJakub Jelinek <jakub@redhat.com>
Sat, 23 Nov 2019 10:06:26 +0000 (11:06 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 23 Nov 2019 10:06:26 +0000 (11:06 +0100)
commit1fbf51cb84cb1000fac324ef11554c36084cd537
tree13ae1acd889f6bf845b15c15d9f2176419ea4121
parentba585b91532b5cb382f1e2d21be50e728bca1da0
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
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-attribs.c
gcc/doc/extend.texi