Hi Tobias, sorry for replying to myself now, but Am 28.03.22 um 22:03 schrieb Harald Anlauf via Fortran: > All current cases of printing a HOST_WIDE_INT in gcc/fortran/ use > 'sprintf', and I did not find any other use of %wd/%wu.  So the > mentioned implementation is not really stressed yet... ;-) using HOST_WIDE_INT_PRINT_DEC in the format argument to gfc_error instead of using %wd does not produce a warning and works. (Also verified with insane character lengths on x86_64). Harald