[Bug c/85623] strncmp() warns about attribute 'nonstring' incorrectly in -Wstringop-overflow
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue May 8 02:49:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85623
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org
--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
This should be easily fixable for the simple cases involving string constants.
It may not be so simple for the non-constant ones.
More information about the Gcc-bugs
mailing list