[Bug libgomp/83106] [8 regression] libgomp/target.c:2671:2: error: ‘strncat’ specified bound 5 equals source length [-Werror=stringop-overflow=]

schwab@linux-m68k.org gcc-bugzilla@gcc.gnu.org
Wed Nov 22 17:00:00 GMT 2017


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

--- Comment #6 from Andreas Schwab <schwab@linux-m68k.org> ---
If you already know strlen (d) you can use strcpy or memcpy instead.


More information about the Gcc-bugs mailing list