https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98819
David Malcolm <dmalcolm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmalcolm at gcc dot gnu.org --- Comment #4 from David Malcolm <dmalcolm at gcc dot gnu.org> --- In comment #0, the bottom-most "%u" is a fix-it hint, giving the nonsensical suggestion to the user that they replace the "%u" with itself. Clearly we shouldn't issue such a fix-it hint. I'm not able to reproduce the warning with the given reproducer. What flags are you using? Do you have a URL for your godbolt example?