https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85643
--- Comment #8 from Martin Sebor <msebor at gcc dot gnu.org> --- Author: msebor Date: Tue May 22 19:46:44 2018 New Revision: 260553 URL: https://gcc.gnu.org/viewcvs?rev=260553&root=gcc&view=rev Log: PR middle-end/85643 - attribute nonstring fails to squash -Wstringop-truncation warning gcc/ChangeLog: PR middle-end/85643 * calls.c (get_attr_nonstring_decl): Handle MEM_REF. gcc/testsuite/ChangeLog: PR middle-end/85643 * c-c++-common/attr-nonstring-7.c: New test. Added: branches/gcc-8-branch/gcc/testsuite/c-c++-common/attr-nonstring-7.c Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/calls.c branches/gcc-8-branch/gcc/testsuite/ChangeLog