https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95139
--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- Code using the GCC diagnostic functions should use %wd instead of HOST_WIDE_INT_PRINT, both for translation and because HOST_WIDE_INT_PRINT is a format for the host printf and may not be understood by the GCC pretty-printer code at all; the pretty-printer code is responsible for translating %wd to %lld / %I64d as needed.