On Fri, 12 Jan 2018, Janne Blomqvist wrote: > (I don't know why HOST_WIDE_INT_PRINT_DEC doesn't work with the > diagnostics machinery on darwin, but IMHO at this point it's too late
HOST_WIDE_INT_PRINT_DEC is a host-specific printf format; for example, it might use %I64d on Windows host or %lld elsewhere. The formats used in diagnostic functions must *not* be host-specific or use macros anywhere in them at all, because that won't work with translation. Diagnostic functions have their own host-independent formats; %wd is the correct format for HOST_WIDE_INT in diagnostic functions. -- Joseph S. Myers jos...@codesourcery.com