https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109189
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jeff Law <l...@gcc.gnu.org>: https://gcc.gnu.org/g:2fc17730dcef182bba3c9d4e32fc00302ef421fe commit r15-7768-g2fc17730dcef182bba3c9d4e32fc00302ef421fe Author: Jan Dubiec <j...@o2.pl> Date: Fri Feb 28 22:01:42 2025 -0700 [PATCH] H8/300: PR target/109189 Silence -Wformat warnings on Windows This patch fixes annoying -Wformat warnings when gcc is built on Windows/MinGW64. Instead of %ld it uses HOST_WIDE_INT_PRINT_DEC macro, just like many other targets do. PR target/109189 gcc/ChangeLog: * config/h8300/h8300.cc (h8300_print_operand): Replace %ld format strings with HOST_WIDE_INT_PRINT_DEC macro in order to silence -Wformat warnings when building on Windows/MinGW64.