https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80895
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Miloradovsky from comment #4) > Hmm, man printf(3) doesn't tell anything about the formats, what are they > for? They are part of the gcc diagnostic format. Gcc does not use printf directly for those functions. See how they have the gcc_format attribute rather than the printf_format attribute.