[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 17:31:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85602

--- Comment #9 from Martin Sebor <msebor at gcc dot gnu.org> ---
Thanks, r261751 should take care of it.

--- Comment #10 from Martin Sebor <msebor at gcc dot gnu.org> ---
Author: msebor
Date: Tue Jun 19 17:30:47 2018
New Revision: 261751

URL: https://gcc.gnu.org/viewcvs?rev=261751&root=gcc&view=rev
Log:
gcc/testsuite/ChangeLog:

        PR middle-end/85602
        * c-c++-common/attr-nonstring-8.c: Adjust text of expected warning
        to also match C++.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/c-c++-common/attr-nonstring-8.c


More information about the Gcc-bugs mailing list