https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89998
--- Comment #10 from gandalf at winds dot org --- (In reply to Jakub Jelinek from comment #9) > Fixed for trunk. As a workaround I'd suggest using a correct prototype or > -fno-builtin-sprintf if you intentionally use a different one. Thanks. Using the correct prototype (dropping the 'unsigned') indeed works as a workaround.