https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67661
--- Comment #6 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- The warning is bogus. It appears even if separate declarations are used for the three variables; maybe it's something to do with the printf call?