Re: [patch] [jit] Fix compilation of jit test with -Wformat-security

2018-11-26 Thread David Malcolm
On Mon, 2018-11-26 at 10:20 +0100, Matthias Klose wrote: > test-long-names.c fails to build when -Wformat-security is turned > on. Fixed by > the below patch. Alternatives would be to use a plain strcpy, or to > turn off the > option in a dg header. Ok to commit, including active branches? > > Ma

[patch] [jit] Fix compilation of jit test with -Wformat-security

2018-11-26 Thread Matthias Klose
test-long-names.c fails to build when -Wformat-security is turned on. Fixed by the below patch. Alternatives would be to use a plain strcpy, or to turn off the option in a dg header. Ok to commit, including active branches? Matthias gcc/testsuite/ 2018-11-26 Matthias Klose * jit.dg/test-lo