aboutsummaryrefslogtreecommitdiff
path: root/gcc/machmode.h
diff options
context:
space:
mode:
authorJan Dubiec <jdx@o2.pl>2025-02-28 22:01:42 -0700
committerJeff Law <jlaw@ventanamicro.com>2025-02-28 22:02:59 -0700
commit2fc17730dcef182bba3c9d4e32fc00302ef421fe (patch)
tree725c6324994608b8548cbb083bb59fd7247ddeb8 /gcc/machmode.h
parent20d95bfa29057104b352e5d82699edede8658499 (diff)
downloadgcc-2fc17730dcef182bba3c9d4e32fc00302ef421fe.zip
gcc-2fc17730dcef182bba3c9d4e32fc00302ef421fe.tar.gz
gcc-2fc17730dcef182bba3c9d4e32fc00302ef421fe.tar.bz2
[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.
Diffstat (limited to 'gcc/machmode.h')
0 files changed, 0 insertions, 0 deletions