https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84725
--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> --- Author: msebor Date: Tue Mar 13 15:33:16 2018 New Revision: 258492 URL: https://gcc.gnu.org/viewcvs?rev=258492&root=gcc&view=rev Log: PR tree-optimization/84725 - enable attribute nonstring for all narrow character types gcc/c-family/ChangeLog: PR tree-optimization/84725 * c-attribs.c (handle_nonstring_attribute): Allow attribute nonstring with all three narrow character types, including their qualified forms. gcc/testsuite/ChangeLog: PR tree-optimization/84725 * c-c++-common/Wstringop-truncation-4.c: New test. * c-c++-common/attr-nonstring-5.c: New test. Added: trunk/gcc/testsuite/c-c++-common/Wstringop-truncation-4.c trunk/gcc/testsuite/c-c++-common/attr-nonstring-5.c Modified: trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/c-attribs.c trunk/gcc/doc/extend.texi trunk/gcc/testsuite/ChangeLog