diff options
author | Martin Sebor <msebor@redhat.com> | 2020-02-10 10:27:00 -0700 |
---|---|---|
committer | Martin Sebor <msebor@redhat.com> | 2020-02-10 10:27:00 -0700 |
commit | 0cc575e4d8b68b743e07da02a74733f9b5cb585a (patch) | |
tree | 6e8707e3f9ef12fea691aaa40b99896e59d43180 /zlib | |
parent | d50ecb8388162b8485619c4817f3f24fc0da3357 (diff) | |
download | gcc-0cc575e4d8b68b743e07da02a74733f9b5cb585a.zip gcc-0cc575e4d8b68b743e07da02a74733f9b5cb585a.tar.gz gcc-0cc575e4d8b68b743e07da02a74733f9b5cb585a.tar.bz2 |
PR c/93640 - The write_only and read_write attributes can be mistyped due to invalid strncmp size argument
gcc/c-family/ChangeLog:
PR c/93640
* c-attribs.c (handle_access_attribute): Correct off-by-one mistakes.
gcc/testsuite/ChangeLog:
PR c/93640
* gcc.dg/attr-access.c: New test.
Diffstat (limited to 'zlib')
0 files changed, 0 insertions, 0 deletions