On Tue, 10 May 2016, Bernd Schmidt wrote: > I think Andreas' concern is that this might need to have a "ll" suffix. The > simplest option might be to use the HOST_WIDE_INT_C macro, and then > HOST_WIDE_INT_PRINT_DEC for the error message.
HOST_WIDE_INT_PRINT_DEC is a host printf format, not a format for GCC's diagnostic functions such as error_at. Formats such as %wd must be used with the latter. (Formats for GCC's diagnostic functions also mustn't depend on the host, or involve concatenation with macros, so that the messages can be translated.) -- Joseph S. Myers jos...@codesourcery.com