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

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 22 20:50:00 GMT 2017


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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Nov 22 20:49:56 2017
New Revision: 255080

URL: https://gcc.gnu.org/viewcvs?rev=255080&root=gcc&view=rev
Log:
        PR libgomp/83106
        * target.c (gomp_target_init): Compute lengths just once and
        use them in both malloc size and subsequent copying.

Modified:
    trunk/libgomp/ChangeLog
    trunk/libgomp/target.c


More information about the Gcc-bugs mailing list