Re: [PATCH] Fix Fortran FE -Wformat-security warnings

2017-01-21 Thread Paul Richard Thomas
Hi Jakub, Yes, of course - OK for trunk. Thanks Paul On 20 January 2017 at 23:32, Jakub Jelinek wrote: > Hi! > > The Fortran FE has huge amounts of -Wformat-security warnings everywhere, > but in the end they are only a result of a few commonly used things: > 1) gfc_get_string uses a printf-li

[PATCH] Fix Fortran FE -Wformat-security warnings

2017-01-20 Thread Jakub Jelinek
Hi! The Fortran FE has huge amounts of -Wformat-security warnings everywhere, but in the end they are only a result of a few commonly used things: 1) gfc_get_string uses a printf-like format string, so calling it with a variable is something -Wformat-security warns about (and would be a bad bug if