Re: [PATCH] Fix Werror=stringop-overflow in target.c

2017-11-22 Thread Jakub Jelinek
On Mon, Nov 20, 2017 at 02:58:49PM +0100, Martin Liška wrote: > Hello. > > This is fix of compilation error I see with > --enable-offload-targets=nvptx-none=. It's explained > in very detail way here: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83007#c1 > > Ready for trunk? > Martin > > libg

[PATCH] Fix Werror=stringop-overflow in target.c

2017-11-20 Thread Martin Liška
Hello. This is fix of compilation error I see with --enable-offload-targets=nvptx-none=. It's explained in very detail way here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83007#c1 Ready for trunk? Martin libgomp/ChangeLog: 2017-11-20 Martin Liska * target.c (gomp_target_init): U