[Bug target/95139] Messages using string concatenation can not be translated

joseph at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Thu May 14 20:38:23 GMT 2020


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.


More information about the Gcc-bugs mailing list