https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92292
--- Comment #4 from Domani Hannes <ssbssa at yahoo dot de> --- (In reply to jos...@codesourcery.com from comment #3) > 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. Interesting, I would never have thought of this possibility. Is there also a scenario where it would make sense to have multiple format attributes for the same format string?