[Bug c/87028] false positive -Wstringop-truncation strncpy with global variable source string
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Aug 23 20:43:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87028
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=81704
--- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> ---
See also bug 81704 for another problem the early folding causes (though
deferring the folding only until the next statement in the basic block can be
reached, which is all it takes to suppress the false positive, won't solve that
bug).
More information about the Gcc-bugs
mailing list