[Bug middle-end/85602] -Wsizeof-pointer-memaccess for strncat with size of source
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jun 19 22:36:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85602
--- Comment #12 from Martin Sebor <msebor at gcc dot gnu.org> ---
Author: msebor
Date: Tue Jun 19 22:35:45 2018
New Revision: 261774
URL: https://gcc.gnu.org/viewcvs?rev=261774&root=gcc&view=rev
Log:
PR middle-end/85602 - -Warray-bounds fails to detect the out of bound array
access
gcc/testsuite/ChangeLog:
* c-c++-common/attr-nonstring-8.c: Adjust text of expected warning
to also match C++.
Added:
trunk/gcc/testsuite/gcc.dg/Warray-bounds-28.c
Modified:
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list