https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92292
--- Comment #3 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- On Tue, 31 Dec 2019, ssbssa at yahoo dot de wrote: > But does it make sense to do a format check multiple times for one function? Yes. You could have a function with one format string for the message printed to the terminal and another for the message printed (with the same arguments) to a logfile, for example. Or multiple format strings from which the function chooses one to use based on some condition.